{"id":450,"date":"2014-11-14T22:12:00","date_gmt":"2014-11-14T22:12:00","guid":{"rendered":"https:\/\/staging.infragistics.com\/blogs\/?p=450"},"modified":"2025-02-25T13:44:08","modified_gmt":"2025-02-25T13:44:08","slug":"installing-xamarin-for-visual-studio","status":"publish","type":"post","link":"https:\/\/www.infragistics.com\/blogs\/installing-xamarin-for-visual-studio","title":{"rendered":"Installing Xamarin for Visual Studio 2015 Preview Side by Side with Visual Studio 2013"},"content":{"rendered":"\n<p>I spent most of my morning trying to get this to work, so I will save you the troubles that I went through and just tell you what you need to do.\u00a0 This should make your life so much easier.<\/p>\n\n\n\n<p>First, you need to <a href=\"http:\/\/brianlagunas.com\/installing-visual-studio-2015-preview\/\" target=\"_blank\" rel=\"noopener noreferrer\">install Visual Studio 2015 Preview<\/a>.&nbsp; Well, that was easy.<\/p>\n\n\n\n<p>Next you need to <strong>uninstall everything Xamarin<\/strong> that you have.&nbsp; I know it\u2019s a pain, but trust me, this will save you time and frustration going forward.<\/p>\n\n\n\n<p>Now, open up Visual Studio 2015 Preview, and create a new Android project.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/6724.image_5F00_66C45B89.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/4744.image_thumb_581C4055.png\" alt=\"Visual Studio 2015 Project Templates \" title=\"Visual Studio 2015 Project Templates \"\/><\/a><\/figure>\n\n\n\n<p>When the project is created, you will see a document with instructions on how to download Xamarin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/4657.image_5F00_776177D9.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/0042.image_thumb_18E3381A.png\" alt=\"Install Xamarin\" title=\"Install Xamarin\"\/><\/a><\/figure>\n\n\n\n<p>Do what the form says and click the \u201cDownload Xamarin\u201d button.&nbsp; When you click on that link it will take you to a page to download the actual Xamarin installer for Visual Studio 2015.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/6403.111414_5F00_0114_5F00_XamarinforV41_5F00_115A595E.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/3666.111414_0114_XamarinforV41_thumb_52F7265B.png\" alt=\"Download Xamarin\" title=\"Download Xamarin\"\/><\/a><\/figure>\n\n\n\n<p>Once you fill out the form, click the download button of your choice and save or run the \u201cXamarinInstaller-VS2015.exe\u201d file.&nbsp; I personally like to save them before I run them, but that\u2019s just me.<\/p>\n\n\n\n<p>Once you have completed the Xamarin install, launch Visual Studio 2015 again, and you will notice you have some new Project Templates.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/5810.image_5F00_06557A69.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/5126.image_thumb_2606E4E2.png\" alt=\"Xamarin Project Templates for Visual Studio 2015\" title=\"Xamarin Project Templates for Visual Studio 2015\"\/><\/a><\/figure>\n\n\n\n<p>As you can see, I am running the Business edition of Xamarin, since I have Xamarin Forms available to me.&nbsp; Hit okay, and let the magic begin.&nbsp; Within a few seconds you will have a number of projects in your solution explorer that you can use to start writing cross-platform apps.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/1184.image_5F00_798045AC.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/3250.image_thumb_0A1D61FD.png\" alt=\"Xamarin Forms project\" title=\"Xamarin Forms project\"\/><\/a><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Let\u2019s get that Android Emulator Working<\/h1>\n\n\n\n<p>The next thing we want to do is get that cool new Android emulator working that ships with Visual Studio 2015 Preview.&nbsp; Start by making the Android project your start up project.&nbsp; This will give you some new options in your Debug toolbar.&nbsp; The main one being the new Android Phone emulator.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/5314.image_5F00_6E7B66B7.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/8358.image_thumb_5513637D.png\" alt=\"Visual Studio 2015 Preview Android Emulator debug options\" title=\"Visual Studio 2015 Preview Android Emulator debug options\"\/><\/a><\/figure>\n\n\n\n<p>Let\u2019s go ahead and hit F5 to start debugging out Android app, and see what happens.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/4718.image_5F00_509CE2B6.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/5707.image_thumb_005A8B36.png\" alt=\"Visual Studio 2015 Preview Android emulator error\" title=\"Visual Studio 2015 Preview Android emulator error\"\/><\/a><\/figure>\n\n\n\n<p>Well, crap!&nbsp; That sucks.&nbsp; Looks like Xamarin didn\u2019t want to shake hands with Visual Studio 2015.&nbsp; Or is that the other way around?&nbsp; Anyways, not a big deal.&nbsp; This is a known issue and has an easy fix.&nbsp; Simply right-click on the Android project and click <strong>Project -&gt; Properties -&gt; Android Options \u2013&gt;<\/strong> and <strong>uncheck<\/strong> &#8220;Use Fast Deployment (debug mode only)&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/6303.image_5F00_2F425E7C.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/4721.image_thumb_1EC9ED81.png\" alt=\"Visual Studio 2015 Preview Android emulator error bug fix\" title=\"Visual Studio 2015 Preview Android emulator error bug fix\"\/><\/a><\/figure>\n\n\n\n<p>Now, hit F5 one more time and let\u2019s see what happens.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.infragistics.com\/community\/cfs-file.ashx\/__key\/CommunityServer.Blogs.Components.WeblogFiles\/blagunas.metablogapi\/6378.image_5F00_2FD33CC6.png\"><img decoding=\"async\" src=\"http:\/\/static.infragistics.com\/marketing\/Blogs\/Migration\/blagunas\/metablogapi\/7532.image_thumb_6EC74E12.png\" alt=\"Visual Studio 2015 Preview Android emulator\" title=\"Visual Studio 2015 Preview Android emulator\"\/><\/a><\/figure>\n\n\n\n<p><strong>SUCCESS<\/strong>!&nbsp; We are now up and running with Visual Studio 2015 Preview and Xamarin.<\/p>\n\n\n\n<p>I hope you find this post helpful, and maybe it even saved you some time and a little pain relief.&nbsp; As always, feel free contact me on my <a href=\"http:\/\/brianlagunas.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">blog<\/a>, connect with me on Twitter (<a href=\"http:\/\/twitter.com\/brianlagunas\" target=\"_blank\" rel=\"noopener noreferrer\">@brianlagunas<\/a>), or leave a comment below for any questions or comments you may have.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are a current user of Visual Studio 2013 and Xamarin, and you are wanting to start playing around with the new features in Visual Studio 2015 Preview, including the new Android emulator, then this post is for you.\u00a0<\/p>\n","protected":false},"author":43,"featured_media":2369,"comment_status":"publish","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-450","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/posts\/450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/comments?post=450"}],"version-history":[{"count":1,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"predecessor-version":[{"id":2083,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/posts\/450\/revisions\/2083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/media\/2369"}],"wp:attachment":[{"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infragistics.com\/blogs\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}