
- #XAMARIN STUDIO WINDOWS DOWNLOAD INSTALL#
- #XAMARIN STUDIO WINDOWS DOWNLOAD UPDATE#
- #XAMARIN STUDIO WINDOWS DOWNLOAD WINDOWS 10#
- #XAMARIN STUDIO WINDOWS DOWNLOAD PORTABLE#
I eventually noticed a couple of things that seemed a bit bizarre: The error reports “ The name ‘InitializeComponent’ does not exist in the current context.” Getting rid of the error CS0103 – ‘InitializeComponent’ does not exist in the current context Unfortunately my attempt to compile the project out of the box showed an error in the UWP project and a bunch of warning messages for the Android project. Tip: Prepare to wait a while when building the solution for the first time – it needs to download a lot of NuGet packages.

Compiling the solution led to multiple warnings and errors I’ll run through some of the symptoms of problems I encountered trying the things above, and how I fixed them.
#XAMARIN STUDIO WINDOWS DOWNLOAD PORTABLE#
I also chose to create a Shared Project because I only expect my code to be used in my application, rather than shared with other developers as a Portable Class Library (you can read more about the differences between Shared Projects and Portable Class Libraries here). I chose to use Xamarin.Forms (which allows developers to create cross platform user interfaces). Select File -> New Project to open the dialog below, and choose a name for the project:Īfter clicking OK on the dialog above (which chooses a Cross Platform App project type), the dialog will close and open a new project. This bit is straightforward to anyone who’s created a new project in Visual Studio 2017 before. Creating a project with the default Xamarin template
#XAMARIN STUDIO WINDOWS DOWNLOAD INSTALL#
Tip: If you leave your machine to download and install Xamarin, it’s worth adjusting your power settings to make sure an unattended machine doesn’t switch off in the middle of the download – like mine did the first time ( facepalm). It’s probably going to take a long time to install VS2017 with Xamarin – adding Xamarin to the base Visual Studio install makes it about 25GB bigger. With Visual Studio 2017, it’s very easy just open up the setup wizard, select the Xamarin tools (as shown below) and just wait for it to install. Installing Xamarin tools for Visual Studio 2017 So instead of writing and managing three different codebases for three different platforms, developers can just write their code once and deploy it to different app-stores.

With Xamarin tools built into Visual Studio, developers can create native applications in C# for Windows, Mac and Linux devices. Before we begin – what’s Xamarin and why should I use it? If you’re on a different version of Windows, you might have different experiences to me (you can check your version by going to Windows Settings -> System -> About).
#XAMARIN STUDIO WINDOWS DOWNLOAD UPDATE#
You’ll know if you’re on the Creator’s Update version if your Windows build number is 1703.
#XAMARIN STUDIO WINDOWS DOWNLOAD WINDOWS 10#
I use Windows 10 (and have installed the Creator’s Update) – this allows me to use Xamarin.Forms.

Since I’ve recently started using Xamarin for cross platform development, I thought it would be nice to share with the community how I’ve got past some of the issues which tripped me up for a while when I was becoming familiar with it. This isn’t really a normal “getting started with Xamarin” tutorial – there’s lots of them already out there already, like this one – but hopefully anyone starting off with Xamarin will find it useful.
