Visual Studio and Xamarin
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to Visual Studio 2019. Download it here
Xamarin is a mobile app development platform for building native iOS, Android, and Windows apps from a common C#/.NET code base, achieving 75% to nearly 100% code reuse between platforms. Apps written with Xamarin and C# have full access to underlying platform APIs and the ability to build native user interfaces, and compile to platform-specific packages so there is little impact on runtime performance. (Note: Xamarin also supports F#, but this documentation will focus on C# only. Visual Basic is not supported at this time.)
Better still, developers familiar with C#, .NET, and Visual Studio will enjoy the same the power and productivity when working with Xamarin for mobile apps, including remote debugging on Android, iOS, and Windows devices—without having to learn native coding languages like Objective-C or Java. It’s little surprise, then, that many high performance apps with beautiful user interfaces—such as NASCAR, Aviva, and MixRadio—have been built using Xamarin.
This documentation helps you evaluate the full capabilities of Visual Studio with Xamarin to build these experiences.
Start with Setup and install, a process that will take some time (typically 2-4 hours depending on the speed of your Internet connection, what you already have installed, and the options you select).
While the installers are running, you can Learn about mobile development with Xamarin which will tell you about the nature of Xamarin, compare Xamarin.Forms to native UI, and more.
Once installation is complete, Verify your Xamarin environment.
Finish by going through the tutorial Learn app-building basics with Xamarin.Forms in Visual Studio.
You can work with all Xamarin features through any edition of Visual Studio 2015 (Community, Professional, and Enterprise). Note also that as of March 31 2016, Xamarin is included with all editions of Visual Studio 2015 and no longer requires a separate license. For Visual Studio 2013, you can install Xamarin separately, as the Setup and install topic describes.
These instructions describe the easiest and most straightforward computer configuration for those that have a Windows and Visual Studio background. With this configuration, the overall development experience is simplified because you only need to interact with the Mac to use the iOS simulator and tethered device. If you instead come from a Mac background, we recommend either running Visual Studio inside Parallels/VMWare or using Xamarin Studio Community. Refer to Setup, install, and verifications for Mac users for instructions.
If you're looking for a cross-platform development solution based on HTML and CSS, check out the Visual Studio Tools for Apache Cordova as described in Cross-Platform Development in Visual Studio.