Alpha service release: Xamarin Studio 5.9.2, bug fixes for 5.9.0

BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai
edited May 2015 in Visual Studio

This thread has now been closed to direct all further updates about this service release onto the new Beta release thread:

For anyone who has been commenting on this thread, feel free to continue the conversation in that new thread.

Released versions:



Reason for release: Bug fixes for the Stable Channel release on April 29.

Date published:

NOTE: Alpha versions have not yet completed the full suite of tests by the Xamarin QA team. That said, customer reports of any regressions (or bugs that are incorrectly marked "fixed") are still much appreciated, even if the problem would have eventually been caught during the full QA testing process.

Previous versions, downgrading

You can downgrade back to the current Stable version by switching updater channels.

You can downgrade back to the previous Stable versions (from before April 29) by manually reinstalling each old package (see also the article about downgrading). The links to the previous Stable versions are:



Guidelines for this thread

  1. This first post will be updated regularly.

  2. Hopefully this thread will help answer "what regressions have been fixed compared to the current Stable version?" and "what might break if I update to this release?"

  3. If you find a new problem that is specific to this version, please file a bug report (if this link redirects to the top-level page the first time you click it, try clicking it once more).

  4. Please discuss older bugs that are unchanged in this release compared to the previous Stable version in Bugzilla instead.

  5. Of course for questions and discussions about topics other than bugs, feel free start new forum threads.

Fixes for common old known issues from previous releases

Fixes for "new known issues" in the April 29 Stable Channel release

  • Bug 29568 - [Android] "No resource found that matches the given name", for AppCompat resources in the Android Support library.

  • Non-public bug 29866 - [Android] Windows only: "System.InvalidOperationException: Can't not find the nested type" when building with the linker enabled.

  • Non-public Bug 29172 - [Android] "'...Resource' does not contain a definition for `Id'" (for example, when using the Scandit component).

  • Bug 29730 - [Android] Event handlers subscribed to (some?) events that are bound to Java callbacks no longer work (for example ViewTreeObserver.GlobalLayout). Workaround: use the corresponding "Add/Remove...Listener" methods instead:

  • Bug 29570 - [Android] Greater-than and less-than comparisons of decimal numbers do not work correctly.

  • Bug 28918 - [iOS] "Unexpected error ... Failed to resolve System.Security.Permissions.SecurityPermissionFlag". Workaround:

  • Bug 29263 - [Android] Classes that are referenced by files in the "Resources/xml/" folder will currently all need [Register] attributes, even if the "XML element name" syntax is used.

  • Non-public Bug 29170 - [Android] Profiling via log:sample causes the app to crash at startup.

  • Bug 29261 - [Xamarin Studio] Switching Xamarin Studio to full-screen on recent versions of OS X 10.10 causes Xamarin Studio to crash. Workaround: Option-click the green "full-screen / maximize" button to maximize the window before switching to full-screen.

  • Bug 29088 - [Xamarin Studio] "No access to the given key" when adding custom NuGet feed. Workaround: create the following two folders: /Library/Frameworks/Mono.framework/Versions/4.0.0/etc/mono/registry and /Library/Frameworks/Mono.framework/Versions/4.0.0/etc/mono/registry/LocalMachine.

  • Non-public Bug 28557 - [Android] In certain cases breakpoints will only pause program execution the first time they are hit.

  • Bug 29039 - [Mono] CultureInfo.GetCultureInfo("ar-SA").DateTimeFormat throws a NullReferenceException for the ar-SA culture.

  • Non-public Bug 29314 - [Xamarin Studio] [iOS] "Project Options -> iOS Build" shows two "Enable incremental builds" checkboxes. Workaround: use the bottommost checkbox.

Remaining known issues from the April 29 Stable Channel release, with more common or severe issues near the top

(This list should get smaller as new Alpha builds are published over the coming week.)

  • Bug 28961 - [iOS] "error MT3001: Could not AOT the assembly", "error: invalid symbol redefinition". (This can also appear as "System.ArgumentOutOfRangeException: startIndex > this.length" in the "Output -> Xamarin Log" in VS.) One common cause of this error is the use of [MethodImplAttribute(MethodImplOptions.Synchronized)]. Workaround for projects that use [MethodImplAttribute(MethodImplOptions.Synchronized)]: remove [MethodImplAttribute(MethodImplOptions.Synchronized)] and manually synchronize the methods using lock statements instead (

  • Bug 29326 - [Android] String resources defined in NuGet packages overwrite string resources defined in app project, causing the displayed app name to be incorrect for example. Workaround: avoid using the same string key that is used in the NuGet packages.

  • Bug 29211 - [iOS] Enabling linker with Profile 7 PCL that uses System.IO.Compression causes "Could not load file or assembly 'System.IO.Compression'" at run time. Workaround: add -linkskip=System.IO.Compression under "project options -> iOS Build -> Additional mtouch arguments".

  • Bug 29745 - [iOS] Error due to duplicate symbols during native compilation for device: "duplicate symbol _monoeg_g_array_new" (and many similar messages). Workarounds: disable profiling under "Project Properties -> iOS Build", or if your app uses the -all_load linker flag (via either gcc_flags or LinkerFlags) try removing it.

  • Non-public Bug 29538 - [Android] Profiling via the graphical Xamarin Profiler ("Run -> Start Profiling") causes the app to crash at startup.

  • Non-public Bug 28995 - [Android] On certain devices apps crash rarely due to "System.ExecutionEngineException: SIGILL".

  • Bug 28808 - [Xamarin Studio] Uncommon "Too many open files" error, possibly related to keeping a solution open in Xamarin Studio across several sleep/wake cycles, leads to an inability to save the solution, and consequently a loss of the solution file contents.

  • Bug 29001 - [Xamarin Studio] Under certain conditions, clicking in the universal search bar can trap the cursor focus, preventing text entry into the text editor window.

  • Bug 29731 - [Android] Android.Bluetooth.BluetoothAdapter.Enable is incorrectly marked as [Obsolete("deprecated")] for API level 20 and higher.

  • Bug 29725 - [Xamarin Studio] [iOS] [Android] Expressions in the Watch window are cleared each time you stop debugging.

  • [Xamarin Studio] Xamarin Studio 5.9 for Mac requires OS X 10.9 or higher. The updater does not currently block this update on OS X 10.8. The behavior of the updater for this kind of version incompatibility will be improved in the future.

EDIT May 07: Add XamarinVS bug 29822 and XamarinVS bug 29703.
EDIT May 07: Remove Xamarin.iOS non-public bug 29764 because it is not really a regression.
EDIT May 07: Add XamarinVS bug 29839.
EDIT May 08: Update version numbers for new Alpha builds. Move more bugs to the "Fixes" section accordingly. (29628 29680 29220 29568 29172 29730 29703)
EDIT May 08: Add Android bug 29538. Adjust Android bug 29170 description accordingly.
EDIT May 08: Add iOS bug 29745 with workarounds.
EDIT May 09: Add Alpha-only Android bug 29866.
EDIT May 11: Add XamarinVS.iOS bug 29849 with workaround.
EDIT May 13: Add Xamarin.iOS bug 28961.
EDIT May 13: Update version numbers for new Alpha builds. Move more bugs to the "Fixes" section accordingly. (29839 29866 29570)
EDIT May 13: Add "Xamarin Log" error message for 28961.
EDIT May 14: Update version numbers. iTunesMetadata.plist is now removed automatically from App Store builds.
EDIT May 19: Close this Alpha thread and a link to the new Beta thread.


This discussion has been closed.