3/21/2015
Build crossplatform apps with Xamarin in Visual Studio
Build cross‐platform apps with Xamarin in Visual Studio Now, you can use C# to build native apps that run on iOS, Android, Windows, and Windows Phone. To learn more, see Xamarin Apps in Visual Studio. This guide will help you build a basic app for Android and the Windows Phone. The app will look like this.
On your way to building it, you’ll do these things. Prepare your solution to build apps for Android and the Windows Phone Run both apps in an emulator to make sure that they work Write code that you can share between the apps Design the look and feel of the Android app Design the look and feel of the Windows Phone app Take the next step If you’re ready to go, let’s start.
First, set up your solution Create an Android, Windows Phone, and a shared project, and then make a few tweaks to the solution.
Create an Android project 1. In Visual Studio, create a new Blank App ﴾Android﴿ project and name it WeatherApp. You can find this template under Visual C#‐>Android in the New Project dialog box. If you haven’t yet installed Xamarin for Visual Studio 2015 Preview, choose the Build native Android apps in C# template and follow the instructions to install it. 2. In the Control Panel, Open Programs and Features, choose the Xamarin item, and then choose the Change button.
3. In the setup wizard for Xamarin, choose the Next button, and then choose the Change button. 4. In the list of optional features to install, choose the icon next to Xamarin for Visual Studio 2015, and then choose Will be installed on local drive.
https://msdn.microsoft.com/enus/library/dn879698(v=vs.140).aspx
1/13