Meziantou.Framework.Versioning
3.0.8
Prefix Reserved
dotnet add package Meziantou.Framework.Versioning --version 3.0.8
NuGet\Install-Package Meziantou.Framework.Versioning -Version 3.0.8
<PackageReference Include="Meziantou.Framework.Versioning" Version="3.0.8" />
<PackageVersion Include="Meziantou.Framework.Versioning" Version="3.0.8" />
<PackageReference Include="Meziantou.Framework.Versioning" />
paket add Meziantou.Framework.Versioning --version 3.0.8
#r "nuget: Meziantou.Framework.Versioning, 3.0.8"
#:package Meziantou.Framework.Versioning@3.0.8
#addin nuget:?package=Meziantou.Framework.Versioning&version=3.0.8
#tool nuget:?package=Meziantou.Framework.Versioning&version=3.0.8
Meziantou.Framework.Versioning
Provide SemanticVersion which allows to parse semantic version 2.0.0. It allows provide comparison methods and operators to compare multiple semantic versions.
// Parse a semantic version string
var version = SemanticVersion.Parse("1.2.3-alpha.1+build");
Assert.Equal(1, version.Major);
Assert.Equal(2, version.Minor);
Assert.Equal(3, version.Patch);
Assert.True(version.IsPrerelease);
Assert.Equal(["alpha", "1"], version.PrereleaseLabels);
Assert.True(version.HasMetadata);
Assert.Equal(["build"], version.Metadata);
// Create and compare versions (prerelease versions have lower precedence)
var v1 = new SemanticVersion(1, 0, 0, "alpha");
var v2 = new SemanticVersion(1, 0, 0);
Assert.True(v1 < v2);
// Get the next version
Assert.Equal("1.0.1", v2.NextPatchVersion().ToString());
Assert.Equal("1.1.0", v2.NextMinorVersion().ToString());
Assert.Equal("2.0.0", v2.NextMajorVersion().ToString());
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Meziantou.Framework.Versioning:
| Package | Downloads |
|---|---|
|
Meziantou.Framework.WasmEngine.Wasi
WASI for Meziantou.Framework.WasmEngine: WASI Preview 1 (wasi_snapshot_preview1) for modules, and WASI 0.2 and 0.3 for components, with arguments, environment variables, clocks, random numbers, standard streams, exit codes, a sandboxed file system of preopened directories on the disk or in memory, and the sandboxed sockets and HTTP of WASI 0.3 on the network of the machine or in memory. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.8 | 88 | 12/1/2026 |
| 3.0.7 | 93 | 12/1/2026 |
| 3.0.6 | 168 | 11/8/2026 |
| 3.0.5 | 183 | 10/21/2026 |
| 3.0.4 | 163 | 9/6/2026 |
| 3.0.3 | 140 | 9/3/2026 |
| 3.0.2 | 146 | 8/30/2026 |
| 3.0.1 | 167 | 7/8/2026 |
| 3.0.0 | 158 | 7/5/2026 |
| 2.0.4 | 159 | 6/13/2026 |
| 2.0.3 | 163 | 6/7/2026 |
| 2.0.2 | 159 | 5/31/2026 |
| 2.0.1 | 152 | 5/23/2026 |
| 2.0.0 | 152 | 5/6/2026 |
| 1.3.16 | 157 | 4/25/2026 |
| 1.3.15 | 184 | 2/1/2026 |
| 1.3.14 | 181 | 1/18/2026 |
| 1.3.13 | 607 | 11/16/2025 |
| 1.3.12 | 318 | 11/9/2025 |
| 1.3.11 | 296 | 11/2/2025 |