Beta versions of Catel via NuGet

by Geert 22. December 2011 17:48

Starting with December 21st, beta packages of Catel will be published to NuGet. Starting with NuGet 1.6, it is possible to create “pre-release” packages. This way, it is possible to give users that like to live on the edge a change to update their packages via NuGet.

Strange versioning

The versioning of the beta versions is a bit strange. This is due to a bug in NuGet which does not support the full SemVer standard to include build numbers. Therefore, the beta versions are always 1 less than the next official version.

For example, say that version 2.4 is currently the official version, and the team is working towards version 2.5. Then all beta versions for 2.5 will have this version number:

2.4.[yyyyMMdd]-beta (thus on December 21st, the version would be 2.4.20111221-beta).

Installing the beta via NuGet

Unfortunately, the NuGet package manager does support pre-releases. So, the beta versions must be installed via the shell. This example installs Catel.Windows as a package. However, to install other packages simple change the ID (name) of the package.

Installing the latest beta

   1: Install-Package Catel.Windows –IncludePrerelease

Installing a specific beta

   1: Install-Package Catel.Windows –IncludePrerelease -version 2.4.20111221-beta

Updating to the latest beta

   1: Update-Package Catel.Windows –IncludePrerelease

Updating to a specific beta

   1: Update-Package Catel.Windows –IncludePrerelease -version 2.4.20111221-beta

Updating to the latest stable version

   1: Update-Package Catel.Windows

Tags: ,

Catel | NuGet

Comments are closed

About the Author

Geert van Horrik is a independent freelance software developer since January 1st, 2007. Since then he was been working on several projects from C++ to C# (WPF, ASP.NET, etc). Currently he loves to write his software using WPF (or Silverlight if WPF isn't an option).

Lately, Geert is spending a lot of time on Catel, a free open-source MVVM Framework for WPF and Silverlight. Actually, it's more than "just" an MVVM Framework, it's a complete application library!