2 references to As2PartVersion
Microsoft.DotNet.Build.Tasks.Packaging (2)
GetLastStablePackage.cs (1)
145var latestVersion = (DoNotAllowVersionsFromSameRelease) ? VersionUtility.As2PartVersion(nuGetVersion?.Version) : nuGetVersion?.Version;
NuGetUtility.cs (1)
84return versions.Where(v => VersionUtility.As2PartVersion(v) == new Version(eraMajorVersion, eraMinorVersion))