When looking over the source code of NuGet.Core
, I noticed that SemanticVersion
has a constructor public SemanticVersion(Version version, string specialVersion)
...
What exactly is this specialVersion? Can anyone give an example of how it looks on a real NuGet package?
Special version is used with pre-release NuGet packages where part of the version number includes an arbitrary string.
So if you have a pre-release package with the version:
1.1.2-beta1
The special version will be beta1 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.