/semver

A semver implementation in .Net based on the v2.0.0 of the spec found at http://semver.org/.

Primary LanguageC#MIT LicenseMIT

Build status

A semantic version library for .Net

This class library implements the SemVersion class, that complies to v2.0.0 of the spec from http://semver.org.

Installation

With the nuget console:

 Install-Package semver

Parsing

 var version = SemVersion.Parse("1.1.0-rc.1+nightly.2345");

Comparing

 if(version >= "1.0")
     Console.WriteLine("released version {0}!", version)