Install Xamarin in Visual Studio 2013

I recently installed Visual Studio 2013 and noticed that when I attempt to create a new Xamarin Android project, the Android template is missing from the “New Project” window.

The cause of the problem is that Xamarin hasn’t yet (as of the date of this writing) included a VS2013 installer. To work around this problem, I followed Daniel Hilgarth’s instructions as follows…

  1. Install Xamarin in Visual Studio 2012
  2. Copy the files from c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Xamarin\ to c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Xamarin\
  3. Copy the folders Android and ios from inside c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\CSharp\ to c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\CSharp\
  4. Copy the folders Xamarin.Android and ios from c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\ to c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\CSharp\
  5. Execute the following command from a command prompt with elevation: "c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /setup /nosetupvstemplates

That’s it. You should now have a fully functional Xamarin setup in VS 2013!

Thank you, Daniel!

Advertisements