Xamarin Studio 4.2
The 4.2.5 update fixes the Android designer for users who have upgraded to Android SDK Tools 22.6.3.
- Added new Project Unload command, which can be used to disable a project in a solution. To unload a project, right-click on the project in the solution pad and click on Unload. An unloaded project will remain disabled until it is explicitly loaded using the Reload command.
- Improved roundtripping of ProductVersion/ToolsVersion in project files, for better compatibility with Visual Studio.
- Improved the naming convention configuration dialog.
- Correctly compare null values in the evaluator.
- Fixed loading of strings into the hex editor visualizer.
- Don't scroll to the top when adding new expressions/watches.
- Several improvements to the Win32 debugger engine. Immediate window now offers auto-completion.
- Project templates based on the old Xib format have been removed. All project templates ('iPad', 'iPhone' and 'Universal') are now based on storyboards. They work exactly as they did before. The single file Xib templates are all still there, except the Xib files in the single file templates have been upgraded to Xcode 5 format. This means that they cannot be opened/used/compiled with Xcode 4.x. The single file templates should also act exactly as they did before, but they will only work with Xcode 5.0 or higher.
- The iOS Designer preview is now shipping on every version of Xamarin Studio. Users interested in using the built-in designer to edit their storyboard files should enable in the Xamarin Studio preferences dialog.
- Added prerendered checkbox in the Asset Catalog editor for App Icons.
- Added support for simulating a background fetch (no support for launching as a background fetch yet).
- Fixed the iTunes Art work selectors to work after unsetting the image.
- Moved the WiFi debugging checkbox out of the Debugger preferences panel and into a new iOS preferences panel.
- Added command for converting a stash to a branch. To use this feature, access Version Control -> Manage Stashes -> Convert to branch.
- Improvements in the Checkout dialog. When the target checkout directory is not empty Xamarin Studio now ask whether to delete the contents or not.
- Fixed some e-mail overriding issues in the commit dialog.
Source Code Editing
- Improved text editor performance and memory usage, especially on Windows or when working with large C# files.
- New code issues:
- Field never assigned
- Usage of obsolete members
- Check that event handlers got removed from static events to prevent memory leaks
- Added smart indentation support for .json files.
- Added support for Android KitKat (with Android SDK tools 22.3 or upper).
- Fixed crash when trying to add a .cs file to the Android layouts folder.
- Fixed: button for deleting alternative layouts in the Android designer can’t be clicked.
- Fixed random crashes when opening an axml file.
Other improvements and bug fixes
- The NUnit addin now recognizes the ‘Explicit’ attribute
- Web service references now show map and proxy file as their children
The 22.214.171.124 update fixes the Android designer for users who have upgraded to Android SDK Tools 22.6.
126.96.36.199 requires the updated Android SDK Tools 22.6 to use the Android Designer, and will prompt you to upgrade if you are on an older version.
- Fixed performance issue when opening very large files
- Fixed excessive CPU usage in some cases
- Added support for detecting simplified chinese encoding
- Improved automatic code formatting
- Code Issues Pad now supports File and Project grouping
Razor and Hybrid applications
- Added new templates for Razor Hybrid applications. These are new project types for Android and iOS (Storyboard) which use a WebView (through a Razor Preprocessed template).
- Preprocessed Razor templates now support conditional attributes
- Add support for local-copying package assembly references
- Added support for reading projects created by Visual Studio 2013. However, they can currently only be built on Windows, not Mac.
- Moved the ‘Use MSBuild engine’ option to the Build panel for Projects
- Improved the Exception Caught dialog
- Implemented support for evaluating null references in the Immediate and Watch windows.
- There are now a total of 6 new Project Templates for iOS:
- iPhone Page-Based Storyboard
- iPad Page-Based Storyboard
- Universal Page-Based Storyboard
- iPhone SpriteKit Storyboard
- iPad SpriteKit Storyboard
- Universal SpriteKit Storyboard
- When zipping an app bundle, Xamarin Studio now prompts for the output filename before building (in cases where the app bundle hasn’t yet been built).
- Added refresh button to the Developer Accounts’ "View Details” dialog.
- Fixed the Developer Portal web requests to better handle error cases that have been reported on the forums and to the Support Team.
- Fixed accuracy of the "Signing Identities” list in the Developer Accounts’ "View Details” dialog.
- Always loads mobile provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles/ so that developers are able to manually install their own provisioning profiles (and/or manage their Provisioning Profiles using Xcode) instead of using the Developer Accounts feature.
- Improved merging of the Asset Catalog plists in order to preserve the UIPrerenderedIcon settings in the app’s Info.plist.
- Now exports Asset Catalogs to Xcode when editing xib and storyboard files.
- When syncing back from Xcode, Outlets and Actions are now parsed from both the .m and .h files (since Xcode5 now seems to default to displaying the .m file in the side-by-side editor view).
- Allow building without specifying a Provisioning Profile.
- Fixed code-signing to not merge the Keychain Access Groups entitlement from the specified Provisioning Profile.
- Fixed the "Downloads” File Access checkbox to set the proper Entitlements.plist key.
- Allow targeting the Android KitKat framework
- Android Designer
- Fixed several issues with string resources
- Allow using uppercase letters in resource folders
- Added command in context menu for showing the property pad
- Added context menu options for creating and deleting alternative layouts
- Added possibility to choose visibility for generated proxies.
- Fixed issues with proxy namespace generation when URLs contained dashes
- Fixed issues with Keychain storage for Git.
- Added a way to disable Version Control per solution basis. It is accessed by right clicking a solution -> Options -> Version Control -> General -> ticking the Disable Version Control for this Solution.
- Updated Windows Subversion to 1.8.
- Fixed entries in Commit Dialog being doubled
Miscellaneous bug fixes and improvements
- The status bar now displays the relative path of the opened file
- Fixed: all menu items are disabled when Xamarin Studio is in fullscreen mode
- Fixed: changing desktop wallpaper causes UI misbehavior
- Disabled Add-ins are no longer re-enabled after Xamarin Studio Upgrade
- Fixed error adding references to iOS/Android projects using Indie/Starter edition
- Fixed memory leak caused by the code completion database
- Re-added a fallback to the XCode database for provisioning profiles. You will no longer be required to log into your Apple developer account in Xamarin Studio unless you are using entitlements.
- Fixed Subversion support on Mavericks.
- Fixed an issue seeing some toolbar options in the Android designer when using custom device definitions.
iOS Developer Account login required
- Starting with Xamarin Studio 4.2, you will be required to log into your Apple Developer Account in Xamarin Studio
You can access the Developer Account settings page by navigating to Xamarin Studio -> Preferences -> Developer Accounts:
Source Code Editing
- Improved support for on-the-fly formatting and indenting.
- Improved source analysis (beta), with better performance, memory use and stability.
- Fixed several issues when editing aspx and xml files.
- Improved handling of files with mixed line endings.
- Improved the look of in-line error bubbles.
- Reloading a modified file from disk and restoring from Autosave are now undo-able actions.
- Fixed F# syntax highlighting issues
- Improved the speed and user experience of the import symbol completion
- Added right-click context menu on *.xcassets directories to add individual asset catalogs for images, app icons, and launch images.
- Added an "archive” command for mdtool which does the same thing as the Build / Archive menu item in Xamarin Studio.
- Updated all of the iOS project Storyboard templates to default to the new Xcode 5 format.
- Added code completion support for the new Xamarin.iOS protocol support in C#. Xamarin Studio is now aware of bindings to Objective-C protocols. This means that when your class implements one of the C# interfaces that map to an Objective-C protocol, when you use the "override” keyword it will offer not only to complete the methods inherited from base classes and interfaces, but will offer also the optional methods from the Objective-C protocol. More information about the new protocol support in Xamarin.iOS is available in the Binding Objective-C Libraries document.
The Android Designer is now better in handling layouts with multiple alternative versions. When opening a layout that has multiple versions, those are shown as thumbnails in a side bar. The designer now has two operation modes. In the default mode, changes done to a layout version are particular to that version and won’t have any effect on the other versions. When in multi-edit mode, several layouts can be selected for synchronized editing. Changes done in one layout will be propagated to all selected layouts. Support for change conflict resolution when in multi-edit mode has also been improved.
Other improvements include:
- Several improvements in the toolbar and property grid.
- The stock device list available in the toolbar now shows the
devices defined in the Android SDK. Those devices can be configured in
the Android Emulator manager.
- Improved performance. The designer is now more responsive when working with big layouts.
- Added commands for tagging branches, removing and push tags (Git).
- Fixed incorrect repository detection issue (Git).
- Fixed error when adding Web References in a Subversion repository.
- Improved progress monitoring and notifying for Subversion on Windows.
- Added option for disabling version control support globally.
- Improved support for visualizing big arrays using the hex visualizer (data is now incrementally fetched)
- Allow stepping into autogenerated enumerators in user assemblies
- Improved stability when debugging on the Microsoft .NET CLR.
- Xamarin Studio now can properly load and interpret projects which make use of properties and environment variables in the definition of project items.
- Fixed bug that caused classes from System.Core and PCL framework assemblies to not be shown in code completion
- Improved PCL profile selection panel
- Implicit PCL framework references are now shown in the solution pad.
Xamarin Account Management
- The license activation process has been greatly improved.
- There is no need anymore to log-in using a web browser.