VS2017MSBuildAutoVersioning 1.0.11

dotnet add package VS2017MSBuildAutoVersioning --version 1.0.11                
NuGet\Install-Package VS2017MSBuildAutoVersioning -Version 1.0.11                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VS2017MSBuildAutoVersioning" Version="1.0.11">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VS2017MSBuildAutoVersioning --version 1.0.11                
#r "nuget: VS2017MSBuildAutoVersioning, 1.0.11"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VS2017MSBuildAutoVersioning as a Cake Addin
#addin nuget:?package=VS2017MSBuildAutoVersioning&version=1.0.11

// Install VS2017MSBuildAutoVersioning as a Cake Tool
#tool nuget:?package=VS2017MSBuildAutoVersioning&version=1.0.11                

VS2017MSBuildAutoVersioning

As the name suggests.. bring back the asterisks!!

Usage

1) Install VS2017MSBuildAutoVersioning via NuGet.

2) Append a line like <BaseVersion>x.x.x.x-suffix<BaseVersion> to the PropertyGroup of your *proj file.

Accepted formats are: <int>.<int>, <int>.<int>.*, <int>.<int>.*.*, <int>.<int>.*.*-<suffix>.

For example, 1.2, 1.2.*, and 1.2.*.* yield the same result and 1.2.*.*-alpha appends the suffix to it.

During build, the build/revision version will be automatically generated in the same manner MSBuild had been doing; the former is the number of days since y2k, and the latter is the number of seconds since midnight, divided by 2.

Only leaving the revision number wildcarded is possible and will work expectedly, but generally not recommended.

3) Version, AssemblyVersion, FileVersion and PackageVersion are now set automatically and appropriately, so you can forget bumping them. Yay!

Platforms

The new MSBuild format (introduced in VS2017), net46 or netstandard2.0. Should work regardless of OS.

License

Apache 2.0. See LICENSE.txt.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.11 2,685 5/25/2018