Alpha Release: 15.2 Alpha Preview 3

We are releasing the third Alpha 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 8 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.

New: This Xamarin release is now also available in Visual Studio 2017 Preview as part of the April 20 update (26419.01 – Preview).

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 – April 6th 2017

Alpha 2 – April 11th 2017

Alpha 3 – This Release!

Pre-release: Xamarin.Forms 2.3.5.233

We’ve pushed Xamarin.Forms 2.3.5.233-pre1 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

  • 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.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)
  • [UITests] Add Xamarin.Forms.Core.UITests.Shared (PR)

Discuss this post on the Xamarin Forums

Service Release: Xamarin.Forms 2.3.4.231

We’ve pushed Xamarin.Forms 2.3.4.231 to NuGet.

Important notes

  • Behavior Change (iOS): ViewDidDisappear may not be reliably called in custom renderers. Please be sure to override Dispose to do any object cleanup that you may be doing in ViewDidDisappear to prevent any possible memory leaks in your custom renderers. (53351)
  • Behavior Change (UWP): Desktop is now a supported Idiom, so your UWP apps will return this value on desktop contexts. Please be aware that Phone will still be returned in continuum scenarios.
  • Behavior Change: Merged ResourceDictionaries will now return a Count that is consistent with the content in the enumeration instead of the total Count of Resources.
  • Breaking Change: Attached Properties are now compiled when XamlC is enabled! If you have XamlC enabled, you must implement a public getter/setter for all attached properties to prevent a compile time error.

2.3.4.231-sr1

  • [2.3.4][Android] OnResume assumed that _application had been set (PR)
  • [Xaml][2.3.4] Do not emit implict_op if from/to are same type (PR)
  • [C][2.3.4] Lookup in RD also lookup in merged RDs (PR)
  • 54334 – “Styles will override properties on UI-Elements when changing resource dictionaries” (PR)

For additional details see the release notes for 2.3.4.224.

Discuss this post on the Xamarin Forums

Preview 7: Visual Studio for Mac

We are releasing our seventh preview of Visual Studio for Mac. Visual Studio for Mac is an evolution of Xamarin Studio, and includes all the functionality of Xamarin Studio 6.3.

If you already have VS for Mac installed, this update will appear in the Alpha updater channel within the IDE. If you do not yet have a VS for Mac Preview, you can download this newer one here. Future updates will then be available to you through the VS for Mac “Check for Updates” menu option.

Please note that the VS for Mac IDE has its own set of updater channels, separate from Xamarin Studio and Xamarin.VS. As of Preview 6 and for all future Preview releases of VS for Mac, only an Alpha channel will appear. That channel provides the latest preview updates as they become available. When VS for Mac moves out of preview status, the available updater channels will be adjusted accordingly. It should be noted that since VS for Mac is still in preview, it is not yet a fully supported product.

Visual Studio for Mac can be installed side-by-side with Xamarin Studio.


 

Known Issues

54993 – “The root assembly … conflicts with another assembly” build error will appear for Xamarin.iOS projects in Xamarin.VisualStudio 4.4.0 on Windows due to the incompatible Xamarin.iOS 10.10.0 Alpha version that is installed on the Mac by the latest Visual Studio for Mac Preview.

  • Visual Studio 2015 and 2013 users can optionally update to the Alpha updater channel to get the compatible Xamarin.VisualStudio 4.5.0 Alpha version. For VS 2017 users and users who do not wish to use the Alpha versions on Windows, please refer to the bug report for a few other options for how to resolve this issue.

Products Released

Alpha Release: 15.2 Alpha Preview 2

We are releasing the second Alpha preview of our next major release, called 15.2.

Using the latest Visual Studio for Mac Preview 7 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.

Note that this preview version is not yet available in Visual Studio 2017. This post will be updated within the next couple of days with the steps to try this release in Visual Studio 2017.  Edit: Unfortunately some new complications came up with the packaging process for Visual Studio 2017. Work is underway to resolve those issues, but in the mean time, if you use Xamarin.iOS in Visual Studio 2017, be sure to hold off for now on trying the preview versions on the Mac. (Otherwise you will run into some incompatibility errors such as “The root assembly … conflicts with another assembly”.) The Visual Studio Preview version 15.2 (26412.01) from April 17 does not yet include the Xamarin 15.2 Alpha preview component.

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 – April 6th 2017

Alpha 2 – This Release!

Security update for the libjpeg information disclosure vulnerability for Mono Framework

We are releasing a security update to the Mono Framework to address an information disclosure vulnerability in libjpeg.

For more details on this security vulnerability, please see KB 4019460 .

If you observe any problematic 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


 

 

Preview 6 – Visual Studio for Mac

We are releasing our sixth preview of Visual Studio for Mac. Visual Studio for Mac is an evolution of Xamarin Studio, and includes all the functionality of Xamarin Studio 6.3.

If you already have VS for Mac installed, this update will appear in any of the updater channels within the IDE. If you do not yet have a VS for Mac Preview, you can download this newer one here. Future updates will then be available to you through the VS for Mac “Check for Updates” menu option.

Please note that the VS for Mac IDE has its own set of updater channels, separate from Xamarin Studio and Xamarin.VS. As of Preview 6 and for all future Preview releases of VS for Mac, only an Alpha channel will appear. That channel provides the latest preview updates as they become available. When VS for Mac moves out of preview status, the available updater channels will be adjusted accordingly. It should be noted that since VS for Mac is still in preview, it is not yet a fully supported product.

Visual Studio for Mac can be installed side-by-side with Xamarin Studio.


Known Issues

    • 54993 – “The root assembly … conflicts with another assembly” build error will appear for Xamarin.iOS projects in Xamarin for Visual Studio 4.4.0 on Windows due to the incompatible Xamarin.iOS 10.10.0 Alpha version that is installed on the Mac by the latest Visual Studio for Mac Preview.
      • Please see the bug report for a few different options for how to resolve this issue.

Products Released