Category Archives: Xamarin.Android

Stable Release: 15.3

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

This release is now available as part of Visual Studio 2017 version 15.3 and in the Stable updater channels for Visual Studio 2017 for Mac and Xamarin Tools for Visual Studio 2015.

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

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.

Bug reports are also welcome. If you see any suspicious behavior that you wish to report, please file a quick bug.


Products Released


Installing


Previous Versions for Mac-only or Visual Studio 2015

Using the latest versions is recommended. Previous versions of the Xamarin and Mono packages are listed below for reference. Note that the Visual Studio 2017 for Mac installer automatically checks online for the latest available Stable version to install, so no installation option for a previous version is described at this time.

Previous Versions for Visual Studio 2017 version 15.0

  • 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.3 update to follow the Visual Studio update guidelines.)


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – July 26th 2017

Preview 6 –  August 1st 2017

Preview 7 – August 3rd 2017

Stable – This Release!

Alpha Release: 15.4 Alpha 1

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

Note that in this release of Visual Studio for Mac, the Azure Functions and Xamarin IoT preview features are disabled. These preview features are now available separately via the extension gallery. See the steps under Preview Capabilities on the corresponding Visual Studio blog post for details on how to enable those features.

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

  • Xamarin.VisualStudio 4.7.0.827
  • Includes updates to the latest Xamarin.iOS, Xamarin.Android, and Xamarin.Mac versions.
  • Release notes forthcoming
  • iOS Simulator on Windows 1.1.3.21
  • Release notes forthcoming

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.

Install steps for Visual Studio 2017 Preview

Ensure that you have installed the latest Visual Studio 2017 Preview version, and then follow the steps to install the Xamarin Updater extension and apply the available updates.

(This approach with a custom updater extension will be replaced in the future by an upcoming built-in mechanism within Visual Studio 2017 Preview itself.)

Uninstall steps for Visual Studio 2017 Preview

If you wish to switch back from these early previews to the default Xamarin versions bundled in Visual Studio 2017 Preview, use the Visual Studio Installer to un-install, and then re-install, the Mobile development with .NET (Xamarin) workload.


15.4 Release Dates

Preview 1 – This Release!

 

Beta Release: 15.3 Preview 6

We are releasing the sixth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

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.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – July 26th 2017

Preview 6 – This Release!

Beta Release: 15.3 Preview 5

We are releasing the fifth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

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.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – This Release!

Beta Release: 15.3 Preview 4

We are releasing the fourth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

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.


Highlighted Known Issues

  • [Xamarin.VisualStudio] – “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”.
    • This issue originally appeared in the Xamarin 15.2 release and was fixed in the Xamarin 15.2.2 release. Unfortunately, the fix was accidentally omitted from these Xamarin 15.3 release preview builds. It will be included in the next published set of builds.

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.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – This Release!

Beta Release: 15.3 Preview 3

We are releasing the third preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

Note also that the Xamarin extension versions included in the latest Visual Studio 2017 Preview version 15.3.0 Preview 3 are for the moment still the earlier Beta versions from June 26. The new matching Xamarin versions will be integrated into the Visual Studio Installer at a future date that follows the upstream VS 2017 Preview release schedule.

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

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – This Release!

Beta Release: 15.3 Preview 2

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

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

Update for June 26: This release is now available as part of the June 26th – version 15.3.0 Preview 3 update for Visual Studio 2017 Preview as well as in the Xamarin updater channels.

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

Preview 1 – May 11th, 2017

Preview 2 – This Release

Common issues in the Xamarin 15.2.2 release being tracked by the Xamarin team

In case it might be useful for reference, here is an update on the previous list of commonly seen issues from the Xamarin 15.2 release. Many of those issues are now resolved in the Xamarin 15.2.2 release.  This updated list gives the latest statuses and workarounds for a few remaining issues from the Xamarin 15.2 release and the Xamarin 15.2.2 release, with a focus on bug reports that have several subscribed users.

  • Bug 56787 [Xamarin.VisualStudio, Xamarin.iOS, Xamarin.Android] “Could not load file or assembly ‘Mono.Posix, Version=2.0.0.0, …'” in some cases when attempting to start debugging with breakpoints set. This happens because the Mono.Posix.dll file is missing from the Xamarin.VisualStudio installer.
    • Temporary workaround:
      1. Download the missing Mono.Posix file and unzip the archive.
      2. Right-click the Mono.Posix.dll file in Explorer and select Properties.
      3. Check the Digital Signatures tab to ensure the file shows a valid Xamarin Inc. signature.
      4. At the bottom of the General tab, if an Unblock checkbox appears, enable it and select OK. (This checkbox appears depending on how the file was downloaded.)
      5. For Visual Studio 2017, copy the Mono.Posix.dll file into the “Xamarin.VisualStudio” extension directory. For example, for a default installation of the Enterprise edition, copy the file into:
        C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio
      6. For Visual Studio 2015, copy the file into the “Xamarin\Xamarin” extension directory:
        C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Xamarin\Xamarin\
      7. Quit and restart Visual Studio.
    • If these steps to do not resolve the issue in your environment, please see the bug report for information about enabling “Fusion logging” (assembly binding logging) and submitting a new bug report for further investigation.
  • Bug 56893 and Bug 56808 [Xamarin.VisualStudio, Xamarin.iOS] Breakpoints are non-functional  and exception call stacks show user code as “External Code” in certain scenarios when debugging on iOS devices and simulators with the linker enabled.
    • Possible temporary workaround: Change the DebugType to portable to more closely match the build behavior of Visual Studio for Mac.
      1. Open each project .csproj file in a text editor. For example, right-click each project in the Solution Explorer and select Unload Project, and then right-click it again and select Edit.
      2. Under the PropertyGroup for the “Debug|AnyCPU” configuration, set:
        <DebugType>portable</DebugType>
      3. Save the changes and reload the projects.
      4. Clean the solution and manually delete the “bin” and “obj” folders to remove any left-over .mdb debugger symbol files.
      5. If any of the projects use async partial methods, install the Microsoft.Net.Compilers  pre-release version 2.3.0-beta1 NuGet package (or higher) into all of the projects (to fix Roslyn issue 17934).
  • 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.
    • Possible temporary workaround: Install the Microsoft.Net.Compilers  pre-release version 2.3.0-beta1 NuGet package (or higher) into all of the projects to get the pre-release Roslyn C# compiler that includes the fix.
    • Alternate temporary workaround: Switch back to mcs and xbuild.
      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.
    • developercommunity 63718 [Xamarin.VisualStudio] In certain environments, Visual Studio crashes often due to an unhandled exception in a Zeroconf method called by Xamarin.VisualStudio.ZeroConf.MacDiscoveryService.

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!