Xamarin 4.5

Xamarin for Visual Studio 4.5

This Xamarin for Visual Studio 4.5 release gives access to the new Xamarin SDKs: Xamarin.iOS 10.10 and Xamarin.Android 7.3.


Features included in this release:

Property Pages and Manifests redesign

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.

New iOS Project Property pages

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.

Better iOS Info.plist Manifest Editor

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.

New Android Project Property pages

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

Bug fixes.

This release includes the following fixes:

  • Resolves Visual Studio crash on some network environments while discovering Mac hosts. (
  • Sets right default values for Android Property pages like in "Use Shared Runtime". (
  • Updates Xamarin Android to fix Command line build "fatal error: mono/metadata/mono-config.h: No such file or directory. (
  • Fixes Android and iOS Inspection. (
  • Breakpoint is not hitting in iOS real device in iOS project via Xamarin Forms project. (
  • Typo on property stored on .csproj for AndroidEnableMultiDex on new Property Pages. (
  • Fixes wrong CFBundleVersion property used in new info.plist editor for field Build. (
  • Visual Studio hangs on network disconnect. (
  • Location of linked files in build directory on Mac build host has changed. (
  • Unable to copy appname.dll from obj to bin because it is being used by another process (
  • Fixes debugging issues with iOS/tvOS/watchOS device-specific builds. (
  • Improved Bonjour SSH discovery implementation. (
  • OpenGL Game (Android) Template now uses OpenTK-1.0. (
  • Android Archive Manager now uses regional settings to show Archive dates. (
  • Fixes second-level iOS Reference debugging. (
  • Errors creating F# Blank Android project. (
  • Ensure tooltips are visible if controls are disabled on Property pages. (
  • Unable to create IPA even after checking the "Build iTunes Package Archive (IPA)". (
  • Analyze-Xamarin Profiler option Is disabled for some configutations. (
  • Adds Android Option for using the concurrent garbage collector (Experimental). (
  • Explicitly marks iOS Option for using the concurrent SGen Garbage collector as Experimental. (
  • Adds several missing tooltips and help links for Android property pages. (
  • Adds Enable Bitcode option for tvOS / watchOS Extension projects. (
  • Cannot open iOS Manifest editor if the solution contains a shared project. (
  • Android msbuild: Always set the $(TargetFrameworkRootPath) in props. (
  • Fixes Main Interface drop-down not setting selected value in iOS. (
  • Unable to reference PCL in a tvOS or watchOS Project. (
  • Minor fixes to Xamarin.Android property pages. (
  • IPA checkbox is disabled in Property page. (
  • Added missing tooltips to iOS Manifest editor. (
  • Visual studio-Output window is showing an error “Child node "2" exited prematurely. Shutting down. (
  • Improvements on F# templates. (
  • Getting Suppression State Error "The value, constructor, namespace or type 'take' is not defined" when using Array.take in new F# template. (
  • iOS debugging not working on main app and first level references. (
  • Breakpoint not getting hit when app is deployed in debug mode in iOS Device. (
  • Project Options are truncated when resizing VS. (
  • Unable to deploy tvOS application on AppleTV device from VS. (
  • Spelling of Implementation in HTTP/TLS. (
  • Incorrect namespace in added Master Detail Page. (

Known issues

Assets Catalog Editor cannot open catalogs named "Assets" in VS2017

The Assets Catalog Editor in Visual Studio 2017 is not be able to open catalogs named "Assets". This issue affects the default tvOS Assets catalog created as part of the template. The workaround is to delete that "Assets" catalog and create a new one with the default name "Media".

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.

iOS Info.plist Manifest Editor limited Entitlements Support

The new Manifest Editor does not currently support every Entitlement that the previous UI included. Support for more Entitlements in this editor will come in a future release. To add an Entitlement that is not available in the UI yet, right-click on the info.plist file and choose "Open With". Then, select the "Generic Plist Editor" option. Entitlement keys and values can be added manually in this editor. For a reference of keys and their appropriate values, please visit the Apple Documentation on Entitlements.

Other Known issues

Installing Xamarin 4.5 on a machine with only Visual Studio 2013 where Xamarin was never installed before might end up on a broken installation. In such case, no iOS or Android templates are visible, and trying to load Xamarin project results in Xamarin init failure.

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.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.