Build.Versioning
0.2.0-pre
dotnet add package Build.Versioning --version 0.2.0-pre
NuGet\Install-Package Build.Versioning -Version 0.2.0-pre
<PackageReference Include="Build.Versioning" Version="0.2.0-pre">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
paket add Build.Versioning --version 0.2.0-pre
#r "nuget: Build.Versioning, 0.2.0-pre"
// Install Build.Versioning as a Cake Addin
#addin nuget:?package=Build.Versioning&version=0.2.0-pre&prerelease
// Install Build.Versioning as a Cake Tool
#tool nuget:?package=Build.Versioning&version=0.2.0-pre&prerelease
Build tasks to generate version information from version tags in a Git repository. The default pattern parses semantic version tags, but you can override the pattern to parse version tags using your own format.
There are separate tasks to retrieve version properties such as MajorVersion, MinorVersion, PatchVersion, ReleaseVersion (pre, beta, etc.), BuildVersion, and Commit; and to generate a managed language-dependent source file with the 3 common assembly version attributes:
- AssemblyVersionAttribute
- AssemblyFileVersionAttribute
- AssemblyInformationalVersionAttribute
After installation, set the GenerateVersionInfo property to true and remove any assembly version attributes in your project(s).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.0-pre | 101 | 3/28/2015 |
0.1.0-pre-10 | 36 | 3/28/2015 |
Initial release.