#mvvmlight V4RC available on #nuget

.NET, MVVM, Phone, Silverlight, Technical stuff, Windows 8, Windows Phone, Work, WPF
See comments

I just published the MVVM Light V4 RC packages to Nuget. Note that this is still technically a preview, so the main package is still V3. The V4 packages are available here:

  • Package with libraries and content:
    When you install this package into a “virgin” application (i.e. an application without ViewModelLocator, preferably a brand new application), it installs a new ViewModel folder with a MainViewModel, ViewModelLocator and adds an entry into the App.xaml file to intialize a the ViewModelLocator in the global resources.
    Do not use this package if you want only the libraries, this will add content files!
  • Package with libraries only:
    This installs and references only the libraries.

Both packages are available for Silverlight 3, Silverlight 4, Silverlight 5, .NET3.5SP1, .NET4, Windows Phone 7.0, Windows Phone 7.1 and Windows 8 (WinRT). That last one is brand new! :)

Nuget prerequisites

Follow the steps to install Nuget (if needed):

  • In Visual Studio 10 or 11, select the menu Tools, Extension Manager.
  • In the Extension manager, select Online Extensions, Visual Studio Gallery.
  • In the field marked “Search Installed Extensions:, enter “nuget”.
  • Select the Nuget entry and then press Install.
  • Restart Visual Studio.

Installing from VS directly

In Visual Studio, follow these steps to install the packages:

  • Open an application without MVVM Light installed.
  • Right click on the project and select Manage Nuget Packages.


  • In the Manage Nuget Packages dialog, select Online (on the left).
  • Enter “mvvmlight” in the Search Online field.
  • You will see four choices:
    • MVVM Light: This is the stable release (V3RTM) with content files. Not available for Windows 8!
    • MVVM Light libraries only: This is the stable release (V3RTM), only libraries. Not available for Windows 8!
    • MVVM Light [Preview]: This is V4RC with content files.
    • MVVM Light libraries only [Preview]: This is V4RC, only libraries.
  • Select the package you want to install and press Install.


That’s it.

Updating from VS directly

If you have a previous version already installed, you can look for the update with the following steps:

  • Right click on the project and select Manage Nuget Packages.
  • In the Manage Nuget Packages dialog, click on Updates.
  • If an update for the given package is available, you can install it from there,

As usual, please try it out and let me know if something does not work right!

Happy coding

Previous entry | Next blog entry

Comments for #mvvmlight V4RC available on #nuget