Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Build Status NuGet

A Semantic Version Library for .Net

This library implements the SemVersion class, which complies with 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)