[MVVMbasics] Which version to use?

All blog posts with a title that starts with [MVVMbasics] are related to the MVVMbasics framework. If you are only interested in my regular blog posts and not in MVVMbasics, ignore these. To list all articles covering MVVMbasics, go to http://mvvmbasics.mobilemotion.eu/documentation!

With the publication of MVVMbasics 2.0, actually two different versions of the MVVMbasics framework have been released at the same time: 1.9.0 and 2.0.0. Let me explain the reason for this, and which version to use for which application:

To use state-of-the-art technology and to provide new features, MVVMbasics 2.0 is based entirely on .NET 4.5. On the one hand, this enables the support of Windows 8.1 and Windows Phone 8.1 Universal Apps (finally!). On the other hand, this means that WPF applications using .NET 4.0 and Phone apps built for Windows Phone 7 are unfortunately not supported any more.

If you’re developing WPF applications on .NET 4.5, Store Apps for Windows 8.1 or Windows Phone 8.1, Phone Applications for Windows Phone 8.0, or event a cross-platform combination of all, this won’t bother you. Just install the latest version of MVVMbasics (when downloaded from NuGet, this will be the 2.0.0 version automatically) or upgrade existing projects to the 2.0 version, and take advantage of the various new features!

If you cannot upgrade to MVVMbasics 2.0, e.g. because one of your projects still requires .NET 4.0 or Windows Phone 7, you should use the MVVMbasics 1.9 version. This version includes the same functions and features known from the 1.4 version, enhanced only by minor bug fixes, and will be the last update to the 1.x release. To install the 1.9 version, you need to explicitly specify the version number 1.9.0 when installing the package(s) from NuGet:

PM> Install-Package MVVMbasics -Version 1.9.0
PM> Install-Package MVVMbasicsTabletExtensions -Version 1.9.0
PM> Install-Package MVVMbasicsPhoneExtensions -Version 1.9.0
PM> Install-Package MVVMbasicsDesktopExtensions -Version 1.9.0
PM> Install-Package MvvmBasicsFor.NET4.0 -Version 1.9.0

However, when your project’s requirements change in the future and .NET 4.0 and/or the Phone 7 platform need not be targeted any more, remember to take the time and upgrade to the 2.0 release – it has a lot of new functions and features to offer, as listed in detail in New version 2.0 features!