Xamarin Studio 5.0

Xamarin Studio 5.0

Shell

The Xamarin Studio shell has been reviewed to make sure it looks awesome in retina displays. We have new beautiful icons and a number of other visual enhancements like the new welcome page, fine-tuned toolbar status bar, about dialog and Windows splash.

NuGet Support

NuGet support is now included by default in Xamarin Studio, with a brand new user interface. The new Add Packages dialog allows NuGet packages to be searched for and installed into a project.

Add Packages Dialog can be opened using the Project → Add Packages menu option, or from the Solution pad by right clicking the project and selecting Add → Add Packages, or by right clicking the Packages folder and selecting Add Packages. Double clicking the Packages folder also opens the dialog.

In the top right of the dialog is the search text box. The Add Packages dialog will search for packages as you type. Alongside the normal free text search, the search text box supports searching for packages by the ‘tags’, ‘id’, ‘description’ properties if the package source supports these. For example: "id:NUnit", "tags:fsharp", "description:mono". Recently used packages are shown first in the packages list for the current Xamarin Studio session.

NuGet packages installed in a project are shown in the new Packages folder, under the project node in the Solution pad. References added by packages are shown in the new "From Packages" folder under the References folder, under the project node.

NuGet packages will be automatically restored on opening a solution. Automatic NuGet package restore can be enabled/disabled in Preferences / Packages / General. NuGet package restore can be started manually by selecting Project → Restore Packages, right clicking the solution and selecting Restore Packages, or right clicking the Packages folder and selecting Restore.

Package sources can be configured in Preferences / Packages / Sources. Double click a package source to update an existing source. To reorder the packages, drag and drop a source in the list. Package source credentials can be configured for feeds that require authorization. Invalid credentials or package source urls will be highlighted in the list of sources.

Xamarin Designer for iOS

The Xamarin Designer for iOS is a visual designer for the iOS Storyboard format which is fully integrated into Xamarin Studio. The iOS Designer maintains full compatibility with the Storyboard format, so that files can be edited in either Xamarin Studio or Visual Studio in addition to Xcode's Interface Builder. Additionally, the Xamarin Designer for iOS supports advanced features such as custom controls that render at design-time in the editor.

F#

F# support is now included by default in Xamarin Studio, with all templates for building Android and iOS apps. No external add-ins are required.

Projects

  • Added Xamarin.Forms project templates.
  • Added Shared Assets Projects support.
  • The default PCL profile has been changed to Profile78 (.NET 4.5, Windows Phone 8, Windows Store 8, Xamarin.Android, Xamarin.iOS).
  • Added support for loading (not building) Windows Phone 8 and iOS projects in Xamarin Studio on Windows.
  • The "search for new files on project load” feature has been removed in favor of MSBuild wildcards in project files.
  • The resx file template is now available for all .NET project types.
  • Fixed resx codebehind generation for PCL projects.
  • The VS2012 solution format is now used by default, compatible with Visual Studio 2010 SP1 and later.

Source Editing

  • Added simple code completion when editing MSBuild project files.
  • The source editor now recognizes defines set automatically by the build system such as __ANDROID__.
  • Improved visual appearance of Source Code Analysis.
  • Derived symbol finding is much faster now.
  • Usage highlighting is now displayed in source analysis bar.

Version Control

  • Fixed ‘Subversion Operation is already in progress’ issues.
  • Fixed issues with being able to delete current branch in Git.
  • Fixed IDE hanging when managing tags in Git.
  • Added support for upgrading Subversion repositories and reporting if the Subversion working copy is too new to handle.
  • Fixed an exception thrown when double clicking on Log diff.
  • Improved experience with the Checkout Dialog when handling invalid URLs, non-empty checkout directories and invalid credentials.
  • Fixed an issue which allowed users to make a commit with an empty message.
  • Changed Version Control Remove command’s confirmation text to "Remove” instead of "Delete” to prevent confusion of what will happen.
  • Remote Status button has been removed from Review and Commit for Git.
  • Optimized Review and Commit diff loading.
  • Optimized switching to Changes View when double clicking a diff in the Log.

Android

  • The AndroidAsset build action is now set correctly on new files.
  • Android Designer: Several fixes in alternative layout management.
  • The debugger now connects more reliably to the Android emulator.

iOS

  • Added support for simulating app launch via Background Fetch.
  • Added check to ensure that Content and BundleResource files don't conflict with the native exe.

Mac

  • Bundles are now codesigned with the Entitlements even if no provisioning profile has been specified.

Debugger

  • Generic methods now can be invoked in the Immediate Window.
  • Win32 debugger
    • Fixed evaluation of private fields.
    • Implemented "Step over properties and operators" setting.
    • Fixed unnecessary stepping at beginning and end of methods.
    • Fixed unnecessary step when step finished on line with breakpoint.

Web References

  • Added possibility to choose whether you want to generate Asynchronous methods when using Web References.
  • Fixed issues with PCL and Web References.
  • Added Delete All context action for Web References Folder.
  • Split Web References folder into Web References and Web Services.

Other Improvements and Bug Fixes

  • Fix execution target list unexpectedly changing.
  • The Test Pad now only shows tests that will be built in the active configuration.
  • Added PublicResXFileCodeGenerator custom build tool
  • Improved french translation
  • Fixed crash when using the Hex debugger visualizer
  • Files in the solution are now sorted by file name without extension.
  • When grouped files are ungrouped in the solution pad, this change will now be persisted correctly.
  • MSBuild project loading errors are now reported back to the build output pad.
  • The correct font is now used in custom UI elements on Windows.
  • ASP.NET file templates are now usable from ASP.NET MVC projects.
  • It’s no longer possible to create custom policies with null or invalid names.
  • Component references can now be removed from projects even when they are corrupt/invalid.
  • Downloaded updates are now kept in the cache when switching updater channels, and the cache is periodically pruned.
  • Files in the update download cache now have user-friendly names.
  • VI status area no longer hangs on some systems

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.