Skip to content

Setup Xamarin on Windows

Hardik Mistry edited this page Nov 15, 2018 · 1 revision

Before you begin

For better experience, we recommend you to follow the official installation guide here: https://developer.xamarin.com/guides/cross-platform/getting_started/installation/windows/

  • Ensure you are connected to internet as most of the packages, SDKs will get downloaded over the internet during installation.

  • Ensure you have sufficient RAM available (if you plan to use emulator which can range from 512 Mb to 2048 Mb in size), we recommend at-least 8 Gb RAM but 4 Gb RAM should work fine.

  • You'll need to sign in using your Microsoft email id (you@outlook.com or you@hotmail.com etc, optionally you may use your organisation account which is configured as Office365 account), sign up for a free Microsoft email here: https://outlook.live.com/owa/

  • You'll need to sign up for Xamarin account as well to continue using Xamarin services, create your's for free here: https://www.xamarin.com/account/register

  • Windows 10 with latest updates (Download your copy here)

  • Visual Studio 2017 with latest updates (Download your copy of Community edition here)

  • Xamarin SDK (Xamarin SDK, Xamarin.Android SDK and Xamarin.iOS SDK)

  • Android SDK

When installing your copy of Visual Studio, select Mobile development with .NET under Mobile & Games section under Workloads tab of the installer.

If you have Visual Studio 2017 already installed, go to Control Panel and select Microsoft Visual Studio 2017 from the list, select Change button (in the top) to start the installer wizard, once the installer starts, select Mobile development with .NET under Mobile & Games section under Workloads tab of the installer.

Before your proceed to install

Select Individual components tab, scroll to SDKs, libraries and frameworks section, ensure you select appropriate Android SDKs, Java JDK, Windows 10 SDK and then proceed with installation

Important note to build and run iOS apps using Visual Studio on Windows

  • MacOS based PC or laptop (preferably latest version of MacOS), accessible by your Windows PC or laptop over the network.
  • Install XCode 9 or higher to take advantage of latest iOS SDK offerings.
  • Install Xamarin.iOS SDK (version of Xamarin.iOS SDK on MacOS PC or laptop should match the version on Windows PC or laptop you are using)
  • Enable Remote Login for a user, from Sharing options availabe in System Preferences
  • Sign up for a free Apple ID (This is a free account which can be used to sign up as a developer account)
  • Open XCode and login using your Apple ID (Select XCode in top left when XCode is open, select Preferences, Select Account tab, Select + in bottom left and select Apple ID as option, login with your account)
  • To be able to connect to your MacOS PC or laptop, you can either use its name or ip, you may hold Command key and press Space bar and type terminal (equivalent to command prompt on Windows), there after type in ifconfig and press enter to execute the command, that should give you the current ip configuration of your MacOS PC or laptop.

Review connecting to Mac guideline here