by Nuget version

This commit is contained in:
2022-09-27 00:39:17 +01:00
parent e49db8e1a1
commit c147eaf54a
8 changed files with 46 additions and 38 deletions

View File

@ -1,10 +1,11 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using isn.abst;
using isnd.Data.Packages;
using isnd.Data.Packages.Catalog;
using Newtonsoft.Json;
using NuGet.Versioning;
namespace isnd.Data
{
@ -53,7 +54,7 @@ namespace isnd.Data
+ Constants.SpecFileEstension;
public string SementicVersionString { get => $"{Major}.{Minor}.{Patch}"; }
public Version SystemVersion { get => new Version(Major, Minor, Patch, Revision); }
public NuGetVersion NugetVersion { get => new NuGetVersion(FullString); }
}
}