computers

Installing the MVVM Light Toolkit

Adding MVVM Light to an Existing Project

To add MVVM Light to an existing project, use the NuGet package manager. This is the recommended method for downloading and integrating MVVM Light.

Getting the Source Code

If you’re interested, you can access the source code for MVVM Light. This is optional. MVVM Light is an open-source project licensed under the MIT License.

Cleaning Up Before Installation

Due to its long history, MVVM Light may have installed files in various locations. To avoid potential issues, it is advisable to clean up old files if you have previously installed older versions manually. You can download a cleanup application and follow the instructions on the “Cleaning” page to assist with this process.

Installation Instructions

The easiest way to install MVVM Light in Visual Studio 2012 and 2013 is through the Extensions and Updates gallery:

  1. Start Visual Studio 2012 or 2013.
  2. Select Tools > Extensions and Updates.
  3. In the Extensions and Updates dialog, select Online on the left-hand side.
  4. Enter “mvvm light” in the search field.
  5. Click the Download button.
  6. Wait for the download to complete.
  7. Accept the license agreement.
  8. Click the Restart button.

Once MVVM Light is installed, you can go to File > New Project and find the MVVM Light project templates ready for use. Additionally, if you place the cursor in your code and type “mvvm”, you will see available code snippets.

Visual Studio 2010

Currently, there is no full installer support for Visual Studio 2010. For now, please use NuGet to add MVVM Light to your application in Visual Studio 2010.