chris1201 / semver

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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

License:MIT License


Languages

Language:C# 100.0%