© Paul Johnson 2018
Paul JohnsonUsing MVVM Light with your Xamarin Appshttps://doi.org/10.1007/978-1-4842-2475-5_1

1. Installing MVVM Light

Paul Johnson1 
(1)
Merseyside, UK
 

In order to use MVVM Light within your Xamarin application, you must first add it into the application. The process is different depending on whether you are doing this on a Mac (with Visual Studio for Mac) or Visual Studio. The reason for this is simple—on a Mac, you are not able to create for Windows Mobile. This may not seem like a big difference, but when setting up a project with MVVM Light, it is.

In this chapter, we’ll create our project as well have a brief look at the two important files provided by MVVM Light: ViewModelLocator.cs and MainViewModel.cs.

Creating Your Shell ...

Get Using MVVM Light with your Xamarin Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.