VS2017MSBuildAutoVersioning 1.0.11

Bring back the asterisks.

Install-Package VS2017MSBuildAutoVersioning -Version 1.0.11
dotnet add package VS2017MSBuildAutoVersioning --version 1.0.11
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

VS2017MSBuildAutoVersioning

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

Usage

1) Install VS2017MSBuildAutoVersioning via NuGet.

2) Append a line like &lt;BaseVersion&gt;x.x.x.x-suffix&lt;BaseVersion&gt; to the PropertyGroup of your *proj file.

Accepted formats are: &lt;int&gt;.&lt;int&gt;, &lt;int&gt;.&lt;int&gt;.*, &lt;int&gt;.&lt;int&gt;.*.*, &lt;int&gt;.&lt;int&gt;.*.*-&lt;suffix&gt;.

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.

VS2017MSBuildAutoVersioning

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

Usage

1) Install VS2017MSBuildAutoVersioning via NuGet.

2) Append a line like &lt;BaseVersion&gt;x.x.x.x-suffix&lt;BaseVersion&gt; to the PropertyGroup of your *proj file.

Accepted formats are: &lt;int&gt;.&lt;int&gt;, &lt;int&gt;.&lt;int&gt;.*, &lt;int&gt;.&lt;int&gt;.*.*, &lt;int&gt;.&lt;int&gt;.*.*-&lt;suffix&gt;.

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.

  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

Version History

Version Downloads Last updated
1.0.11 270 5/25/2018