This is a preview of the upcoming Xamarin for Visual Studio 4.5 release. Those previews are very early, unsupported builds to allow developers to test the new features, and to gather feedback and bug reports. Your help is very appreciated!
- System Requirements
- Property Pages and Manifest redesign
- Bug Fixes.
- Known Issues.
More Xamarin for Visual Studio features will be included in following previews soon.
Features included in this release:
In Xamarin 4.5 we've started a redesign of our Property Pages and Manifest editors. Looking for consistency with Visual Studio itself and Visual Studio for Mac, our new property pages were reorganized and simplified, supporting high-DPI displays. We've also split editors in more natural way. Now you can keep editing csproj options from the Property Pages, and manifest options from the manifest editor.
The new iOS property pages provide all the options stored on the csproj file required to build and run the project correctly. It was redesigned in a way it's simpler and effective.
Our iOS Manifest editor (info.plist) was also re-structured. It's now a stand-alone editor, which can be launched by double clicking your info.plist file. It provides a user-friendly UI which can be easily browsed, keeping a familiar look and feel for editting manifests.
It includes editors for Application version, supported orientation, status bar style, Visual Assets, Capabilities like Game Center, Maps integration or Background Modes, as well as advanced features like editting document types, UTIs, and URL Types.
We've redesigned the Android project options pages! A simplified design with all the options you need.
The advanced Android options have been grouped into a separate Dialog you can open by pressing the "Advanced" button on the Options page
This release includes the following fixes:
- Fixes second-level iOS Reference debugging.(184.108.40.2065)
- Errors creating F# Blank Android project.(220.127.116.115)
- Ensure tooltips are visible if controls are disabled on Property pages.(18.104.22.1685)
- Unable to create IPA even after checking the "Build iTunes Package Archive (IPA)".(22.214.171.1245)
- Analyze-Xamarin Profiler option Is disabled for some configutations.(126.96.36.1995)
- Adds Android Option for using the concurrent garbage collector (Experimental).(188.8.131.525)
- Explicitly marks iOS Option for using the concurrent SGen Garbage collector as Experimental.(184.108.40.2065)
- Adds several missing tooltips and help links for Android property pages.(220.127.116.115)
- Adds Enable Bitcode option for tvOS / watchOS Extension projects.(18.104.22.1685)
- Cannot open iOS Manifest editor if the solution contains a shared project.(22.214.171.1245)
- Android msbuild: Always set the $(TargetFrameworkRootPath) in props.(126.96.36.1995)
- Fixes Main Interface drop-down not setting selected value in iOS.(188.8.131.525)
- Unable to reference PCL in a tvOS or watchOS Project.(184.108.40.2067)
- Minor fixes to Xamarin.Android property pages.(220.127.116.117)
- IPA checkbox is disabled in Property page.(18.104.22.1687)
- Added missing tooltips to iOS Manifest editor.(22.214.171.1247)
- Visual studio-Output window is showing an error "Child node "2" exited prematurely. Shutting down.(126.96.36.1997)
- Improvements on F# templates.(188.8.131.527)
- Getting Suppression State Error "The value, constructor, namespace or type 'take' is not defined" when using Array.take in new F# template.(184.108.40.2067)
- iOS debugging not working on main app and first level references.(220.127.116.117)
- Breakpoint not getting hit when app is deployed in debug mode in iOS Device.(18.104.22.1681)
- Project Options are truncated when resizing VS.(22.214.171.1241)
- Unable to deploy tvOS application on AppleTV device from VS.(126.96.36.1991)
- Spelling of Implementation in HTTP/TLS.(188.8.131.521)
- Incorrect namespace in added Master Detail Page.(184.108.40.2061)
Second level referenced PCL Project won't hit breakpoints in iOS
If you have an iOS application referencing a PCL project referencing a second PCL project (or deeper), starting from the second level PCL project, the breakpoints and debugging info won't work. A workaround is to reference those projects directly from the iOS application. We're aware of the issue and the fix will be public with the next release.
Build canceled with error: Project 'project_name' requires the following components installed on your machine: ...
Building Android applications can require installing additional components. This can be needed in several cases, like if you're using a new component, NuGet Package, or if it's the first Xamarin.Forms solution you're building on a given machine.
Xamarin for Visual Studio detects the lack of those missing resources, and shows an error informing it requires to download and install them:
Double click on that error in the list to start downloading and installing the missing components.
Please keep in mind that you need to have Intellisense errors visible in the list, otherwise you won't be able to see that error.
If you try to build any project in the solution without installing the missing components, the build will be canceled. You cannot build without installing those components. Please ensure Intellisense errors are visible to be able to start installing them.
An optional way to install missing components is to build from the command-line.
Other Known issues
If you downgrade to Xamarin 4.2 or older versions after using this release, you will need to re-register your known Mac servers in the Mac Server dialog. Please use the Forget Mac option, and configure your server connection again.