Stable Release: 15.2.2 Xamarin.Android, Xamarin.VS Hotfix

We are releasing a service release for Xamarin.Android and Xamarin.VS as part of our current major release, called 15.2, into the Alpha, Beta, and Stable channels to address this critical bug.

Update for May 30: This release is now available in the Xamarin updater channels and as part of the May 30th – version 15.2 (26430.12) update for Visual Studio 2017.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.


Updating from Xamarin Studio to Visual Studio for Mac

Visual Studio for Mac is now generally available as announced at the Microsoft Build conference. It is the recommended environment for Xamarin developers on Mac moving forward. To get started with Visual Studio on Mac, download and run the Visual Studio for Mac installer. It will install Visual Studio for Mac as a new app alongside Xamarin Studio.


Products Released


Installing

You can get this latest version by checking for updates on the Stable updater channel and in Visual Studio 2017 by installing Visual Studio 2017 version 15.2 (26430.12).


Upcoming Release Dates

Stable – May 10th 2017

Stable 2 – May 23rd 2017

Stable 3 – This Release!

Stable Release: 15.2.2 Servicing Release

We are releasing a service release for our current major release called 15.2, into the Beta and Stable channels.

Update for May 30: This release is now available in the Xamarin updater channels and as part of the May 30th – version 15.2 (26430.12) update for Visual Studio 2017.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.


Updating from Xamarin Studio to Visual Studio for Mac

Visual Studio for Mac is now generally available as announced at the Microsoft Build conference. It is the recommended environment for Xamarin developers on Mac moving forward. To get started with Visual Studio on Mac, download and run the Visual Studio for Mac installer. It will install Visual Studio for Mac as a new app alongside Xamarin Studio.


Products Released


Installing

You can get this latest version by checking for updates on the Stable updater channel and in Visual Studio 2017 by installing Visual Studio 2017 version 15.2 (26430.12).


Previous Versions

  • For Windows the previous versions and download locations are:

Upcoming Release Dates

Stable – May 10th 2017

Stable 2 – This Release!

 

Stable Release: 15.2 Hotfix Xamarin Android (Mac Only)

We are releasing a new stable build of Xamarin.Android to address a critical performance degradation users have experienced in the 15.2 release. This release is aimed at providing the earliest possible access to the candidate fix for the following issue for users on Mac:

56240 – [Xamarin.Android] Performance degradation in apps that use System.Linq.Expressions. Xamarin.Forms projects that use RelativeLayout are one common scenario that hits this problem.

We are working on a fix for Windows users, and hope to release that very soon.


Products Released

You can also see the latest builds in all channels at https://developer.xamarin.com/releases/current/.

Common issues from the Xamarin 15.2 release being tracked by the Xamarin team

In case it might be useful for reference, here is an in-progress list of some commonly seen issues being tracked by the Xamarin team for the Xamarin 15.2 release. The list is sorted approximately by the number of users subscribed to each bug report, and in some cases also by additional hand-tallying. The list focuses on issues where the pattern of reports suggests a change in behavior compared to the Xamarin 15.1 release. This list is not exhaustive: It does not include every issue user-submitted issue reported since the time of the Xamarin 15.2 release.

  • Bug 56275 and developercommunity 54945 [Xamarin.VisualStudio] Significant increase in the chances of hitting “Unable to copy file “obj\Debug\App1.dll” to “bin\Debug\App1.dll”. The process cannot access the file ‘bin\Debug\App1.dll’ because it is being used by another process.” and “Exceeded retry count of 10. Failed”. Under investigation.
    • A few possible temporary workarounds are discussed on the bug report.
    • One comment on the report also indicates that installing and using the Visual Studio 2017 Preview version 15.3 might resolve the issue.
  • Bug 56246 [Mono, Xamarin.Android, Xamarin.iOS, Xamarin.Mac] Tracking bug for upstream Roslyn issue 17934: “error MSB6006: “csc.exe” exited with code 1″ due to KeyNotFoundException when compiling projects that include async partial methods. Integration of the upstream Roslyn fix is in-progress.
    • Partial temporary workaround: Switch back to mcs and xbuild (see additional details below).
  • Bug 56213 [Xamarin.VisualStudio] “Can not resolve reference: C:/Windows/Microsoft.NET/Framework/v4.0.30319/de/mscorlib.resources.dll” when building or breakpoints fail to hit on iOS devices when debugging. Now RESOLVED in the source code, and will be included in an upcoming release.
  • Bug 55087 [Xamarin.Android] “System.NotSupportedException: Stack walks are not supported on this platform – System.Reflection.MethodBase.GetCurrentMethod” when attempting to debug on x86_64 Android emulators. Now RESOLVED in the source code, and will be included in an upcoming release.
    • Partial temporary workaround: Use an x86 Android emulator rather than an x86_64 Android emulator.
  • Bug 56296 [Xamarin.Forms] “MTOUCH: error MT2001: Could not link assemblies.” when attempting to link Xamarin.Forms projects that use XamlC on iOS because XamlC does not update the new default portable .pdb debug symbol files. Now RESOLVED in the source code, and will be included in an upcoming release of Xamarin.Forms.
    • Possible temporary workaround: Disable XamlC.
    • Alternate possible temporary workaround: Switch back to mcs and xbuild (see additional details below).
  • Bug 56240 [Xamarin.Android] Performance degradation when using System.Linq.Expressions in Xamarin.Android 7.3. A candidate change has been added and will be included in an upcoming release of Xamarin.Android.
  • Bug 56238 and developercommunity 49033 [Xamarin.Android] App exits on launch or fails to hit breakpoints when debugging due to change in default build behavior when the Optimize MSBuild property is not explicitly set. Now RESOLVED in the source code, and will be included in an upcoming release.
    • Workaround: Explicitly set the Optimize property to False in the .csproj file. See the answer on the developercommunity item for a few additional details.
  • Compatibility change: [Xamarin Studio] Breakpoints no longer work for certain Xamarin project types and scenarios in Xamarin Studio 6.3 due incomplete support for the new default portable .pdb format generated by Mono 5.0.
    • Recommended solution: Install and use Visual Studio for Mac now that it is generally available and the recommended environment for Xamarin development on Mac.
    • Alternate possible temporary workaround: Switch back to mcs and xbuild (see additional details below).
  • Bug 56192 [Xamarin.VisualStudio] MultiDex is disabled after saving changes to Xamarin.Android project due to incorrect MSBuild property name <AndroidEnableMultipleDex>. Now RESOLVED in the source code, and will be included in an upcoming release.
    • Workaround: In the .csproj file, replace all occurrences of AndroidEnableMultipleDex with the correct property name AndroidEnableMultiDex using a text editor.
  • Bug 56220 [Xamarin.iOS, Xamarin.VisualStudio] “The item “C:….nuget\packages\Autofac\4.5.0\lib\netstandard1.1\Autofac.dll” in item list “ReferenceCopyLocalPaths” does not define a value for metadata “ResolvedFrom””. Under investigation. A few possible temporary workarounds are discussed on the bug report.
    • A possible temporary workaround is mentioned on the bug report.

Temporarily switching back to mcs and xbuild

The Xamarin 15.2 release includes Mono 5.0, which enables the Roslyn csc C# compiler by default and deprecates the use of xbuild in favor of msbuild. For the Xamarin toolchain, this adds C# 7 support and changes the default debugging symbol format from .mdb files to portable .pdb files. And Visual Studio for Mac uses msbuild by default when building projects.

The change from mcs to csc and xbuild to msbuild is related to several of the issues listed above. One potential workaround in those cases is to switch back to the earlier combination of mcs and xbuild without downgrading Mono or the Xamarin toolchain. As a caution, this is not a tested scenario, so although this approach has been reported to work well so far, it does still have a chance of hitting other secondary errors.

  1. Add the following PropertyGroup element to the bottom of the .csproj file for your app project just before the closing </Project> tag:
    <PropertyGroup Condition=" '$(OS)' == 'Unix' ">
        <CscToolExe>mcs.exe</CscToolExe>
    </PropertyGroup>
    
  2. Disable Visual Studio > Preferences > Build > Build with MSBuild instead of xbuild.(This setting is also available in Xamarin Studio 6.3. It is disabled by default in Xamarin Studio, but some users might have enabled it by hand in the past.)
  3. Close and reopen the solution to ensure the new setting is used.
  4. Clean and rebuild the project.

Alpha Release: 15.3 Preview 1

UPDATE (2017-05-11): We are releasing a Hotfix for Visual Studio for Mac. This new version (7.1.0.583) resolves the issue mentioned here.

We are releasing the first Alpha preview of our next major release, called 15.3. This release includes our next preview of Visual Studio for Mac.

As this is an Alpha build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing the Alpha and switching back to Stable

You can install this new Alpha version or switch back to the current Stable version by changing updater channels.


Upcoming Release Dates

Alpha 1 – This Release!

 

Pre-release: Xamarin.Forms 2.3.5.239-pre3

We’ve pushed Xamarin.Forms 2.3.5.239-pre3 to NuGet. To install the pre-release, check the pre-release option in your NuGet package manager and install this version.

If you have a bug to report, drop us a detailed report here so we can troubleshoot.

Important notes

  • Xamarin.Forms is now compatible with .NET Standard projects! Not all build features may work.
  • Behavior change: Device.RuntimePlatform now returns WinRT on WinRT and UWP on UWP.
  • Behavior change: Using the new AutomationProperties may impact UI Test execution on Android. AutomationId, Name, and HelpText will all set the native ContentDescription property, with Name and/or HelpText taking precedence over AutomationId (Name and HelpText will be concatenated). This means that any tests looking for AutomationId will now fail if Name and/or HelpText are also set on that element. To work around this issue, please alter your UI Tests to look for the value of Name/HelpText in this scenario.
  • Behavior change: Calling Focus on a Picker on WinRT/UWP will now open the drop down.
  • Deprecation: Android IVisualElementRenderer.ViewGroup is now obsolete. Please use View instead.

2.3.5.239-pre3

  • [All] Rename Accessibility -> AutomationProperties (PR)
  • [Core] fix BP declaring Types for A11y (PR)
  • [Android] Add disposed check on FastRenderers.FrameRenderer (PR)
  • [Android] Add disposed check on FastRenderers.LabelRenderer (PR)
  • [Android] Add disposed check on FastRenderers.VisualElementRenderer (PR)
  • 45602 – “NullPointerException when applying style” (PR)
  • 54717 – “System.NullReferenceException Xamarin.Forms.Platform.Android.PlatformConfigurationExtensions.OnThisPlatform[T] (T element)” (PR)
  • 55542 – “View in Master Content Page stops loading ListView in Detail” (PR)
  • 55559 – “Exception when set the backgroundcolor of the frame on a property change event” (PR)
  • 55588 – “Cannot open more than one ContextAction in different ListViews on IOS” (PR)
  • 55636 – “OnPlatform doesn’t work on UWP when compiling with .NET Native” (PR)
  • 55745 – “[iOS] NRE in ListView with HasUnevenRows=true after changing content and rebinding” (PR)
  • 55912 – “Tap event not always propagated to containing Grid/StackLayout” (PR)
  • 56079 – “Accessibility Support doesn’t work in XAML” (PR)

2.3.5.235-pre2

Nuget package here.

  • [Evolution] – “[Xaml] OnPlatform.Default value” (PR)
  • [Android] Make OnElementPropertyChanged virtual on fast renderers (PR)
  • [Android] Verify FragmentContainer created when queueing fragment transaction (Android) (PR)
  • [iOS] Prevent NRE in ListView OnItemSelected (PR)
  • 51173 – “ImageRenderer, async void SetImage – Cannot catch exceptions” (PR)
  • 55027 – “Xaml compilation can’t handle folders in namespaces” (PR)
  • 55096 – “Binding with nested class does not working on XAML.” (PR)
  • 55230 – “setStateListAnimator TargetInvocationException Crash in 2.3.5.233-pre1” (PR)
  • 55347 – “Exception when using static resource Thickness in 2.3.5-pre1 with XamlC” (PR)
  • [Internal] README: add macOS to list of supported platforms (PR)
  • [Internal] Add netstandard group to nuspec (PR)

2.3.5.233-pre1

Nuget package here.

Enhancements & Other Changes

  • [Evolution] – MacOS (PR)
  • [Evolution] – Basic Accessibility Support (PR)
  • [Evolution] – “[Enhancement] Map renderer extensibility” (PR)
  • [All] Add pressed and released events to Button (PR)
  • [All] Move XF.ConcurrentDictionary to WP8 project (PR)
  • [All] Reduce overhead of pushing existing navigation stack (PR)
  • [Android] Added Section indexes when FastScrolled is enabled (PR)
  • [Android] Fast Renderers (PR)
  • [Android] Fix NRE when RecycleElement is on and list is scrolled quickly on Android (PR)
  • [Android] Fixed issue where Android Hints were causing a “.” to be placed on al… (PR)
  • [Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled (PR)
  • [Android] UI tests for InputTransparent and fixes for Android/Windows (PR)
  • [Core] Add default parameter value of zero to INavigationPageController.Peek() (PR)
  • [Core] Add TV to TargetIdiom (PR)
  • [Core] Added RootPage to NavigationPage (PR)
  • [Core] Align iOS, Android, Windows handling of tap gesture event bubbling (PR)
  • [Core] Fix internal children clear logic (PR)
  • [Core] fix NIE in Span (PR)
  • [Core] ITextElement and TextElement (PR)
  • [Core] move the Font proxying into FontElement (PR)
  • [Core] Share BP across IFontElement implementors (PR)
  • [Core] Split Windows RuntimePlatform into UWP and WinRT (PR)
  • [Core] support more color format in ColorTypeConverter (PR)
  • [Core] Update RelativeLayout to make it respond to constraint changes (PR)
  • [Internal] Fix accessibility gallery (PR)
  • [iOS, Android] Throw InvalidOperationException when ViewCell View is null (PR)
  • [iOS] Dispose Entry and Editor properly and automate GC checks (PR)
  • [iOS] Dispose pickers properly and automate GC checks (PR)
  • [iOS] Expose row animation properties in ListViewRenderer (PR)
  • [iOS] Fix for nullreferenceexception in TabbedRenderer on iOS when it has are no children (yet) (PR)
  • [iOS] Fix obsolete constructor in ContextActionCell (PR)
  • [iOS] Inherit Transitioning Delegate from Child (ModalWrapper) (PR)
  • [iOS] TabbedRenderer / load icons from custom sources (from embedded svg for example) (PR)
  • [macOS] Adds Scrollbars to ListViews and ScrollViews (PR)
  • [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (PR)
  • [Xaml] decorate markup and value providers to speed up inflating (PR)
  • [Xaml] empty service provider (PR)
  • [Xaml] no longer require a ServiceProvider for Trigger and PropertyCo… (PR)
  • [Xaml] Null compiled markup (PR)
  • [Xaml] Resource loading (PR)
  • [XamlC] compile ListStringTypeConverter (PR)
  • [XamlC] compiled TypeExtension (PR)
  • [XamlC] complete the Setter/Trigger fix (PR)
  • [XamlC] debug (PR)
  • [XamlC] Fix debugging tests (PR)
  • [XamlC] supports ‘using:’ xmlns declarations (PR)

Bug Fixes

  • 27194 – “Possible Memory Leak with ContextAction” (PR)
  • 27731 – “[Android] Action Bar can not be controlled reliably on MasterDetailPage” (PR)
  • 29247 – “iOS Device.OpenUri breaks with encoded params” (PR)
  • 30166 – “Problem with NavigationBar.BarBackgroundColor on Lollipop” (PR)
  • 31415 – “ListView Does Not Update After GC When Collection Uses Weak References” (PR)
  • 32206 – “ContextActions cause memory leak: Page is never destroyed” (PR)
  • 32847 – “Picker text is cleared after selecting an item, whether Picker, DatePicker, or TimePicker” (PR)
  • 32865 – “On MasterDetailPage trying to change Icon of Master page doesn’t work if another view is pushed and Image is renderer in blue” (PR)
  • 32956 – “Setting ListView.SelectedItem to null does not remove list item highlight when list item is tapped multiple times quickly” (PR)
  • 39407 – “Picker wrong SelectedIndex value” (PR)
  • 40139 – “Changing the Windows 10 System Theme Color causes ListView text to disappear.” (PR)
  • 40251 – “Cannot style Buttons natively using UIButton.Appearance” (PR)
  • 40906 – “CDATA ignored in XAML layout” (PR)
  • 41600 – “ListView.ScrollTo does not behave as per documentation on UWP” (PR)
  • 41619 – “After updating to lastest Xamarin for VS 2015, the UWP Slider Value binding no longer works” (PR)
  • 41778 – “Slider Inside ScrollView Will Open MasterDetailPage.Master” (PR)
  • 41900 – “UWP Map on navigated Page can’t change size.” (PR)
  • 41919 – “SearchBar crash because set FontFamily in UWP global FontFamily style” (PR)
  • 42000 – “Unable to use comma (”,") as decimal point" (PR)
  • 42084 – “Entry Bound to a Double Does Not Accept ‘,’ As Decimal Separator” (PR)
  • 42151 – “UWP Map VisibleRegion is calculated incorrectly” (PR)
  • 42678 – “[Android] System.ObjectDisposedException when tapping a toolbar button after switching tabs.” (PR)
  • 43007 – “Controls nested in StackLayout need to inherit IsEnabled property” (PR)
  • 43519 – “[UWP] MasterDetail page ArguementException when nested in a TabbedPage and returning from modal page” (PR)
  • 43527 – “Page title does not change when Title property is set in code or via binding to a ViewModel” (PR)
  • 43694 – “StaticResource does not work for x:String and OnPlatform” (PR)
  • 43783 – “Most Device Styles do not render correctly in Windows Phone 8.1 (RT) applications” (PR)
  • 43867 – “Numeric keyboard shows text / default keyboard when back button is hit” (PR)
  • 43941 – “Memory leak with ListView’s RecycleElement on iOS” (PR)
  • 44047 – “Memory leak when using SetBackButtonTitle on iOS” (PR)
  • 44096 – “Grid, StackLayout, and ContentView do not pass IsEnabled changes to their children on Android” (PR)
  • 44176 – “InputTransparent fails if BackgroundColor not explicitly set on Android” (PR)
  • 44213 – “Can’t bind to specific properties through OnPlatform” (PR)
  • 44216 – “No property, bindable property, or event found Wen using xamlc” (PR)
  • 44525 – “Xamarin.Forms Listview Row Height Does Not Adapt In iOS” (PR)
  • 44940 – “ScrollToAsync memory leak on UWP” (PR)
  • 44955 – “UWP: Setting Entry BackgroundColor via Behavior results in sticky unfocused background color” (PR)
  • 44980 – “ActivityIndicator disappears when scrolling” (PR)
  • 45027 – “App crashes when double tapping on ToolbarItem or MenuItem very quickly” (PR)
  • 45067 – “No way of cleanly dismissing soft keyboard in UWP” (PR)
  • 45284 – “Extra tab icons display in iOS when binding Title on TabbedPage” (PR)
  • 45179 – “Views in DataTemplate’s are being created without the template ever loading.” (PR)
  • 45277 – “On UWP, Entry with IsPassword = true does not allow selection of characters” (PR)
  • 45299 – “Using a custom TypeConverter causes a “Sequence contains more than one matching element” compile error” (PR)
  • 45678 – “Improperly adding two cells to a DataTemplate results in cryptic XamlC error” (PR)
  • 45874 – “Effect not attaching to ScrollView” (PR)
  • 45891 – “XamlParseException Cannot use OnIdiom with an inherited type.” (PR)
  • 45924 – “On UWP, SearchBar getting focus results in page scrolling unnecessarily” (PR)
  • 46458 – “Grid.IsEnabled property is not working” (PR)
  • 46601 – “MessagingCenter is static” (PR)
  • 46972 – “[Win] ListViews not respecting binding when a GRID is used in the data template”
  • 47701 – “Label inside ViewCell from ListView will clear if updated after await Task.Delay(anyNumber)” (PR)
  • 47923 – “Vectors don’t work in Images, and work badly in Buttons” (PR)
  • 48378 – “For builds on Mac, XamlC or Cecil incorrectly updates .mdb files for iOS apps, maybe only when the Xamarin.Build.Download package is also used” (PR)
  • 49384 – “NavigationPage.BarTextColorProperty not working with FormsApplicationActivity in API 21” (PR)
  • 50540 – “PullToRefresh causes crash when context action option is open” (PR)
  • 50584 – “[UWP] Setting ActivityIndicator.IsRunning=“false” shows the ActivityIndicator” (PR)
  • 50706 – “A picker in a grid in a viewcell in a tableview does not display the selected item (Windows only)”
  • 51236 – “[WinRT] Setting a MasterDetailPage’s IsPresented to false will not immediately update the layout to hide the Master on desktop” (PR)
  • 51652 – “Toggling the Header/Footer on a ListView Throws an NRE” (PR)
  • 51778 – “XamlC needs Portable .pdb support” (PR)
  • 51941 – “Add Highlighted/IsHighlighted property to Button of XF” (PR)
  • 52893 – “FileImageSource is improperly used” (PR)
  • 52266 – "Picker.Focus() does not work on Windows 8.1 and UWP (Windows Desktop) Breaking Behavior Change; see PR" (PR)
  • 52318 – “OnAppearing/Disappearing triggers for all pages in navigationstack backgrounding/foregrounding app” (PR)
  • 52507 – “UI Rendering routine is too slow, here is a fix to make it instant.” (PR)
  • 52962 – “iOS ListView PullToRefresh not showing activity indicator” (PR)
  • 53113 – “Xamarin.Forms.Map crash on UWP” (PR)
  • 53215 – “Master Details Hamburger Menu Icon not displayed on UWP since V2.3.2.127” (PR)
  • 53224 – “CanExecute not used in ViewCells in UWP” (PR)
  • 53275 – “IProvideValueTarget TargetProperty always null” (PR)
  • 53417 – “Clearing Effects collection results in NullReferenceException” (PR)
  • 53427 – “UWP EntryCell Label Not Correct Color” (PR)
  • 53503 – “Inconsitent behaviour of xaml x:TypeArguments when using nested generic arguments” (PR)
  • 53515 – “F#: Loading images from files causes a null reference exception” (PR)
  • 53803 – “Issue where using FormsApplicationActivity crashes on latest nightlies after PR631.” (PR)
  • 54146 – “List view memory leak when using Recycle Element Caching Strategy” (PR)
  • 54153 – “Displaying UIImagePickerController fails to show camera feed” (PR)

Internal

  • [Internal] Normalize Obsolete attributes (PR)
  • [Internal] VSTS support (PR)
  • [Internal] Implicit impl of controller ifaces (PR)
  • [Internal] Add internal XF.Registrar.RegisterAll b/c previewer needs it (PR)
  • [Internal] Remove InternalsVisibleTo from Core to XF.Platforms.**** (PR)
  • [Internal] Add EditorBrowsableAttribute to public classes/interfaces in XF.Internals (PR)
  • [Internal] Robust doc change detection (PR)
  • [Internal] IEditorController (PR)
  • [Internal] [Win] Make WinRT/UWP platform classes more maintainable (PR)
  • [Internal] Checkout docs using unix line endings (PR)
  • [Internal] Force git to checkout docs using unix line endings (PR)
  • [Internal] Update ListProxyTest.WeakToWeak so it works in Release mode (PR)
  • [UITests] Add Xamarin.Forms.Core.UITests.Shared (PR)

Discuss this post on the Xamarin Forums

Stable Release: 15.2

We are releasing the Stable build of our next major release, called 15.2 to the Alpha, Beta, and Stable channels.

This release is now available in the Xamarin updater channels and as part of the May 10th – version 15.2 update for Visual Studio 2017.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.


Updating from Xamarin Studio to Visual Studio for Mac

As announced at the Microsoft Build conference, Visual Studio for Mac is now generally available. It is the recommended environment for Xamarin developers on Mac moving forward. Visual Studio for Mac has all the features of Xamarin Studio, adds cloud and web development, and contains improvements for cross-platform mobile development.

To get started with Visual Studio on Mac, download and run the Visual Studio for Mac installer. It will leave Xamarin Studio unchanged, update the other Xamarin packages to the current versions, and install the Visual Studio for Mac app. Xamarin Studio can continue to be used alongside Visual Studio for Mac if desired, but please note that debugging symbols in this 15.2 release are not backwards compatible with Xamarin Studio 6.3, so you will need to use Visual Studio for Mac to hit breakpoints and break where expected on unhandled exceptions.


Known Issues

There are some known issues and the possibility of new issues being found. Additional bug reports are still welcome for this stable version. If you see any suspicious behavior that you wish to report, please file a quick bug.

Please check out the product release notes to see all the fixes and known issues for this release.

Update for May 17: See also the list of commonly reported issues from the Xamarin 15.2 release being tracked by the Xamarin team.

  • [Android SDK Manager]55943 – “The “Aapt” task failed unexpectedly”, “Error creating start-server process”, or other errors after updating Android tools via Xamarin’s Android SDK Manager due to incorrect file permissions that cause “Native error= Access denied” for various executables.
    • Manual workaround: Add the executable flag to the “ApplicationName” indicated in the log file that is missing the executable flag, for example by using chmod in a Terminal.app command prompt.
  • [Android SDK Manager] 55720 – On uninstalling Latest build of SDK Tools, All SDK tools are uninstalled.
    • A candidate fix will be included in an upcoming preview of Visual Studio for Mac.

Products Released


Installing

You can get this latest version by checking for updates on the Stable updater channel and in Visual Studio 2017 by installing Visual Studio 2017 version 15.2.


Previous Versions for Visual Studio 2015 or Mac-only

Previous Versions for Visual Studio 2017

  • For Windows the previous versions and download locations are:

(Note that the previous available version of Visual Studio 2017 is the RTW version 15.0 rather than the 15.1 update to follow the Visual Studio update guidelines.)


Upcoming Release Dates

Alpha 1 – April 6th 2017

Alpha 2 – April 11th 2017

Alpha 3 – April 19th 2017

Beta 1 – April 25th 2017

Beta 2 – May 3rd 2017

Stable – This Release!

Beta Release: 15.2 Preview 2

 

We are releasing the second Beta preview of our next major release, called 15.2. This release includes our next preview of Visual Studio for Mac.

Using the latest Visual Studio for Mac Preview 10 with this release is encouraged, but you can also continue to use Xamarin Studio if you prefer (though new previews of XS are not included in this release). If you are updating from Visual Studio for Mac Preview 5 or earlier, you’ll need to check for updates once to install the new Preview and then once more to get the new Xamarin Platform components. It should be noted that since VS for Mac is still in preview, it is not yet a fully supported product.

These latest Beta versions are now also available in Visual Studio 2017 Preview as part of the May 3 update (26430.01 – Preview).  The Xamarin.VisualStudio extension 4.5.0.439 in this Visual Studio 2017 Preview is one small edit behind the version in VS 2015.

As this is a Beta/Preview build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing the Beta and switching back to Stable

You can install this new Beta version or switch back to the current Stable version by changing updater channels.


Upcoming Release Dates

Alpha 1 – April 6th 2017

Alpha 2 – April 11th 2017

Alpha 3 – April 19th 2017

Beta 1 – April 25th 2017

Beta 2 – This Release!

Pre-release: Xamarin.Forms 2.3.5.235-pre2

We’ve pushed Xamarin.Forms 2.3.5.235-pre2 to NuGet. To install the pre-release, check the pre-release option in your NuGet package manager and install this version.

If you have a bug to report, drop us a detailed report here so we can troubleshoot.

Important notes

  • .NET Standard: Xamarin.Forms is now compatible with .NET Standard projects! Not all build features may work. We recommend a minimum target version of 1.1. Additional background on Xamarin and .NET Standard is covered on our blog here. Use msbuild when building from the command line.
  • Behavior change: Calling Focus on a Picker on WinRT/UWP will now open the drop down.
  • Deprecation: Android IVisualElementRenderer.ViewGroup is now obsolete. Please use View instead.

Known Issues

2.3.5.235-pre2

  • [Evolution] – “[Xaml] OnPlatform.Default value” (PR)
  • [Android] Make OnElementPropertyChanged virtual on fast renderers (PR)
  • [Android] Verify FragmentContainer created when queueing fragment transaction (Android) (PR)
  • [iOS] Prevent NRE in ListView OnItemSelected (PR)
  • 51173 – “ImageRenderer, async void SetImage – Cannot catch exceptions” (PR)
  • 55027 – “Xaml compilation can’t handle folders in namespaces” (PR)
  • 55096 – “Binding with nested class does not working on XAML.” (PR)
  • 55230 – “setStateListAnimator TargetInvocationException Crash in 2.3.5.233-pre1” (PR)
  • 55347 – “Exception when using static resource Thickness in 2.3.5-pre1 with XamlC” (PR)
  • [Internal] README: add macOS to list of supported platforms (PR)
  • [Internal] Add netstandard group to nuspec (PR)

2.3.5.233-pre1

Enhancements & Other Changes

  • [Evolution] – MacOS (PR)
  • [Evolution] – Basic Accessibility Support (PR)
  • [Evolution] – “[Enhancement] Map renderer extensibility” (PR)
  • [All] Add pressed and released events to Button (PR)
  • [All] Move XF.ConcurrentDictionary to WP8 project (PR)
  • [All] Reduce overhead of pushing existing navigation stack (PR)
  • [Android] Added Section indexes when FastScrolled is enabled (PR)
  • [Android] Fast Renderers (PR)
  • [Android] Fix NRE when RecycleElement is on and list is scrolled quickly on Android (PR)
  • [Android] Fixed issue where Android Hints were causing a “.” to be placed on al… (PR)
  • [Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled (PR)
  • [Android] UI tests for InputTransparent and fixes for Android/Windows (PR)
  • [Core] Add default parameter value of zero to INavigationPageController.Peek() (PR)
  • [Core] Add TV to TargetIdiom (PR)
  • [Core] Added RootPage to NavigationPage (PR)
  • [Core] Align iOS, Android, Windows handling of tap gesture event bubbling (PR)
  • [Core] Fix internal children clear logic (PR)
  • [Core] fix NIE in Span (PR)
  • [Core] ITextElement and TextElement (PR)
  • [Core] move the Font proxying into FontElement (PR)
  • [Core] Share BP across IFontElement implementors (PR)
  • [Core] Split Windows RuntimePlatform into UWP and WinRT (PR)
  • [Core] support more color format in ColorTypeConverter (PR)
  • [Core] Update RelativeLayout to make it respond to constraint changes (PR)
  • [Internal] Fix accessibility gallery (PR)
  • [iOS, Android] Throw InvalidOperationException when ViewCell View is null (PR)
  • [iOS] Dispose Entry and Editor properly and automate GC checks (PR)
  • [iOS] Dispose pickers properly and automate GC checks (PR)
  • [iOS] Expose row animation properties in ListViewRenderer (PR)
  • [iOS] Fix for nullreferenceexception in TabbedRenderer on iOS when it has are no children (yet) (PR)
  • [iOS] Fix obsolete constructor in ContextActionCell (PR)
  • [iOS] Inherit Transitioning Delegate from Child (ModalWrapper) (PR)
  • [iOS] TabbedRenderer / load icons from custom sources (from embedded svg for example) (PR)
  • [macOS] Adds Scrollbars to ListViews and ScrollViews (PR)
  • [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (PR)
  • [Xaml] decorate markup and value providers to speed up inflating (PR)
  • [Xaml] empty service provider (PR)
  • [Xaml] no longer require a ServiceProvider for Trigger and PropertyCo… (PR)
  • [Xaml] Null compiled markup (PR)
  • [Xaml] Resource loading (PR)
  • [XamlC] compile ListStringTypeConverter (PR)
  • [XamlC] compiled TypeExtension (PR)
  • [XamlC] complete the Setter/Trigger fix (PR)
  • [XamlC] debug (PR)
  • [XamlC] Fix debugging tests (PR)
  • [XamlC] supports ‘using:’ xmlns declarations (PR)

Bug Fixes

  • 27194 – “Possible Memory Leak with ContextAction” (PR)
  • 27731 – “[Android] Action Bar can not be controlled reliably on MasterDetailPage” (PR)
  • 29247 – “iOS Device.OpenUri breaks with encoded params” (PR)
  • 30166 – “Problem with NavigationBar.BarBackgroundColor on Lollipop” (PR)
  • 31415 – “ListView Does Not Update After GC When Collection Uses Weak References” (PR)
  • 32206 – “ContextActions cause memory leak: Page is never destroyed” (PR)
  • 32847 – “Picker text is cleared after selecting an item, whether Picker, DatePicker, or TimePicker” (PR)
  • 32865 – “On MasterDetailPage trying to change Icon of Master page doesn’t work if another view is pushed and Image is renderer in blue” (PR)
  • 32956 – “Setting ListView.SelectedItem to null does not remove list item highlight when list item is tapped multiple times quickly” (PR)
  • 39407 – “Picker wrong SelectedIndex value” (PR)
  • 40139 – “Changing the Windows 10 System Theme Color causes ListView text to disappear.” (PR)
  • 40251 – “Cannot style Buttons natively using UIButton.Appearance” (PR)
  • 40906 – “CDATA ignored in XAML layout” (PR)
  • 41600 – “ListView.ScrollTo does not behave as per documentation on UWP” (PR)
  • 41619 – “After updating to lastest Xamarin for VS 2015, the UWP Slider Value binding no longer works” (PR)
  • 41778 – “Slider Inside ScrollView Will Open MasterDetailPage.Master” (PR)
  • 41900 – “UWP Map on navigated Page can’t change size.” (PR)
  • 41919 – “SearchBar crash because set FontFamily in UWP global FontFamily style” (PR)
  • 42000 – “Unable to use comma (”,“) as decimal point” (PR)
  • 42084 – “Entry Bound to a Double Does Not Accept ‘,’ As Decimal Separator” (PR)
  • 42151 – “UWP Map VisibleRegion is calculated incorrectly” (PR)
  • 42678 – “[Android] System.ObjectDisposedException when tapping a toolbar button after switching tabs.” (PR)
  • 43007 – “Controls nested in StackLayout need to inherit IsEnabled property” (PR)
  • 43519 – “[UWP] MasterDetail page ArguementException when nested in a TabbedPage and returning from modal page” (PR)
  • 43527 – “Page title does not change when Title property is set in code or via binding to a ViewModel” (PR)
  • 43694 – “StaticResource does not work for x:String and OnPlatform” (PR)
  • 43783 – “Most Device Styles do not render correctly in Windows Phone 8.1 (RT) applications” (PR)
  • 43867 – “Numeric keyboard shows text / default keyboard when back button is hit” (PR)
  • 43941 – “Memory leak with ListView’s RecycleElement on iOS” (PR)
  • 44047 – “Memory leak when using SetBackButtonTitle on iOS” (PR)
  • 44096 – “Grid, StackLayout, and ContentView do not pass IsEnabled changes to their children on Android” (PR)
  • 44176 – “InputTransparent fails if BackgroundColor not explicitly set on Android” (PR)
  • 44213 – “Can’t bind to specific properties through OnPlatform” (PR)
  • 44216 – “No property, bindable property, or event found Wen using xamlc” (PR)
  • 44525 – “Xamarin.Forms Listview Row Height Does Not Adapt In iOS” (PR)
  • 44940 – “ScrollToAsync memory leak on UWP” (PR)
  • 44955 – “UWP: Setting Entry BackgroundColor via Behavior results in sticky unfocused background color” (PR)
  • 44980 – “ActivityIndicator disappears when scrolling” (PR)
  • 45027 – “App crashes when double tapping on ToolbarItem or MenuItem very quickly” (PR)
  • 45067 – “No way of cleanly dismissing soft keyboard in UWP” (PR)
  • 45284 – “Extra tab icons display in iOS when binding Title on TabbedPage” (PR)
  • 45179 – “Views in DataTemplate’s are being created without the template ever loading.” (PR)
  • 45277 – “On UWP, Entry with IsPassword = true does not allow selection of characters” (PR)
  • 45299 – “Using a custom TypeConverter causes a ”Sequence contains more than one matching element“ compile error” (PR)
  • 45678 – “Improperly adding two cells to a DataTemplate results in cryptic XamlC error” (PR)
  • 45874 – “Effect not attaching to ScrollView” (PR)
  • 45891 – “XamlParseException Cannot use OnIdiom with an inherited type.” (PR)
  • 45924 – “On UWP, SearchBar getting focus results in page scrolling unnecessarily” (PR)
  • 46458 – “Grid.IsEnabled property is not working” (PR)
  • 46601 – “MessagingCenter is static” (PR)
  • 46972 – “[Win] ListViews not respecting binding when a GRID is used in the data template”
  • 47701 – “Label inside ViewCell from ListView will clear if updated after await Task.Delay(anyNumber)” (PR)
  • 47923 – “Vectors don’t work in Images, and work badly in Buttons” (PR)
  • 48378 – “For builds on Mac, XamlC or Cecil incorrectly updates .mdb files for iOS apps, maybe only when the Xamarin.Build.Download package is also used” (PR)
  • 49384 – “NavigationPage.BarTextColorProperty not working with FormsApplicationActivity in API 21” (PR)
  • 50540 – “PullToRefresh causes crash when context action option is open” (PR)
  • 50584 – “[UWP] Setting ActivityIndicator.IsRunning=”false“ shows the ActivityIndicator” (PR)
  • 50706 – “A picker in a grid in a viewcell in a tableview does not display the selected item (Windows only)”
  • 51236 – “[WinRT] Setting a MasterDetailPage’s IsPresented to false will not immediately update the layout to hide the Master on desktop” (PR)
  • 51652 – “Toggling the Header/Footer on a ListView Throws an NRE” (PR)
  • 51778 – “XamlC needs Portable .pdb support” (PR)
  • 51941 – “Add Highlighted/IsHighlighted property to Button of XF” (PR)
  • 52893 – “FileImageSource is improperly used” (PR)
  • 52266 – “Picker.Focus() does not work on Windows 8.1 and UWP (Windows Desktop) Breaking Behavior Change; see PR” (PR)
  • 52318 – “OnAppearing/Disappearing triggers for all pages in navigationstack backgrounding/foregrounding app” (PR)
  • 52507 – “UI Rendering routine is too slow, here is a fix to make it instant.” (PR)
  • 52962 – “iOS ListView PullToRefresh not showing activity indicator” (PR)
  • 53113 – “Xamarin.Forms.Map crash on UWP” (PR)
  • 53215 – “Master Details Hamburger Menu Icon not displayed on UWP since V2.3.2.127” (PR)
  • 53224 – “CanExecute not used in ViewCells in UWP” (PR)
  • 53275 – “IProvideValueTarget TargetProperty always null” (PR)
  • 53417 – “Clearing Effects collection results in NullReferenceException” (PR)
  • 53427 – “UWP EntryCell Label Not Correct Color” (PR)
  • 53503 – “Inconsitent behaviour of xaml x:TypeArguments when using nested generic arguments” (PR)
  • 53515 – “F#: Loading images from files causes a null reference exception” (PR)
  • 53803 – “Issue where using FormsApplicationActivity crashes on latest nightlies after PR631.” (PR)
  • 54146 – “List view memory leak when using Recycle Element Caching Strategy” (PR)
  • 54153 – “Displaying UIImagePickerController fails to show camera feed” (PR)

Internal

  • [Internal] Normalize Obsolete attributes (PR)
  • [Internal] VSTS support (PR)
  • [Internal] Implicit impl of controller ifaces (PR)
  • [Internal] Add internal XF.Registrar.RegisterAll b/c previewer needs it (PR)
  • [Internal] Remove InternalsVisibleTo from Core to XF.Platforms.* (PR)
  • [Internal] Add EditorBrowsableAttribute to public classes/interfaces in XF.Internals (PR)
  • [Internal] Robust doc change detection (PR)
  • [Internal] IEditorController (PR)
  • [Internal][Win] Make WinRT/UWP platform classes more maintainable (PR)
  • [Internal] Checkout docs using unix line endings (PR)
  • [Internal] Force git to checkout docs using unix line endings (PR)
  • [Internal] Update ListProxyTest.WeakToWeak so it works in Release mode (PR)
  • [UITests] Add Xamarin.Forms.Core.UITests.Shared (PR)

Discuss this post on the Xamarin Forums

Beta Release: 15.2 Preview 1

We are releasing the first Beta preview of our next major release, called 15.2. This release includes our next preview of Visual Studio for Mac.

Using the latest Visual Studio for Mac Preview 9 with this release is encouraged, but you can also continue to use Xamarin Studio if you prefer (though new previews of XS are not included in this release). If you are updating from Visual Studio for Mac Preview 5 or earlier, you’ll need to check for updates once to install the new Preview and then once more to get the new Xamarin Platform components. It should be noted that since VS for Mac is still in preview, it is not yet a fully supported product.

These latest Beta versions are now also available in Visual Studio 2017 Preview as part of the April 26 update (26424.02 – Preview).

This Beta release also includes an updated Xamarin Studio 6.3.0.864 build that notifies users that Visual Studio for Mac Preview is now available: “Visual Studio for Mac is Microsoft’s fully-featured IDE for developers on Mac. It has all the features of Xamarin Studio, adds cloud and web development, and contains improvements for cross-platform mobile development. Try the preview and let us know what you think!”

As this is a Beta build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing the Beta and switching back to Stable

You can install this new Beta version or switch back to the current Stable version by changing updater channels.


Upcoming Release Dates

Alpha 1 – April 6th 2017

Alpha 2 – April 11th 2017

Alpha 3 – April 19th 2017

Beta 1 – This Release!