MSBuild.Version.Target 4.0.52

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package MSBuild.Version.Target --version 4.0.52                
NuGet\Install-Package MSBuild.Version.Target -Version 4.0.52                
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="MSBuild.Version.Target" Version="4.0.52" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSBuild.Version.Target --version 4.0.52                
#r "nuget: MSBuild.Version.Target, 4.0.52"                
#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 MSBuild.Version.Target as a Cake Addin
#addin nuget:?package=MSBuild.Version.Target&version=4.0.52

// Install MSBuild.Version.Target as a Cake Tool
#tool nuget:?package=MSBuild.Version.Target&version=4.0.52                

MSBuild.Version.Target

wakatime Build status MSBuild.Version.Target NuGet Version MSBuild.Version.Target NuGet Downloads Maintainability Test Coverage

Provides a NuGet package that adds functionality to your project to auto increment the version build before every non release configuration build.

This package adds a Version.txt with SemVer version (you must update the major and minor version manually, only build is updated via this functionality).

The target updates the AssemblyInfo.cs and the Version.txt of the installed project after each build that is not with the Release configuration.


Nuget package: https://www.nuget.org/packages/MSBuild.Version.Target

Install-Package MSBuild.Version.Target

After installation, open Properties > Version.txt and update the file to match your current project version (SemVer like: Major.Minor.Patch, as Patch being the Build incremental).


The configuration mentionend above is the configuration passed to the MSBuild call of a project being built. This can be set by the Visual Studio in the Configuration Manager or in a manual/CI building passing the arguments /p:Configuration=Debug (for a Debug build). This mean that any value different from Release will activate this tool in the build process.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
4.0.150 79 11/17/2024
4.0.147 102 11/17/2024
4.0.141 63 11/17/2024
4.0.138 71 11/16/2024
4.0.135 69 11/16/2024
4.0.130 70 11/16/2024
4.0.123 70 11/16/2024
4.0.120 67 11/16/2024
4.0.117 75 11/16/2024
4.0.114 199 10/28/2024
4.0.111 493 9/2/2024
4.0.105 114 8/27/2024
4.0.100 131 8/26/2024
4.0.84 1,259 6/19/2024
4.0.83 5,618 4/22/2024
4.0.71 1,763 12/14/2023
4.0.65 1,620 11/9/2023
4.0.60 656 9/23/2023
4.0.55 305 9/23/2023
4.0.52 298 9/20/2023
4.0.47 847 7/24/2023
4.0.46 291 7/17/2023
4.0.43 762 6/19/2023
4.0.39 412 6/7/2023
4.0.33 784 5/4/2023
4.0.32 196 5/3/2023
4.0.27 552 4/3/2023
4.0.14 1,063 1/24/2023
4.0.13 1,076 9/13/2022
3.0.60 1,476 7/26/2020
3.0.59 573 6/27/2020
3.0.52 497 6/27/2020
2.0.47 720 9/18/2019
1.1.44 1,045 8/21/2018
1.1.43 852 8/21/2018
1.1.42 886 8/21/2018
1.1.41 907 8/16/2018
1.1.40 937 8/16/2018
1.1.39 893 8/16/2018
1.1.38 924 8/15/2018
1.1.37 852 8/15/2018
1.1.36 1,089 4/25/2018
1.1.35 1,005 4/24/2018
1.1.34 1,019 4/24/2018
1.1.33 1,085 4/24/2018
1.1.32 1,024 4/24/2018
1.1.31 997 4/24/2018
1.1.30 996 4/24/2018
1.1.29 990 4/24/2018
1.1.28 1,002 4/24/2018
1.1.27 1,037 4/24/2018
1.1.26 984 4/24/2018
1.1.25 1,014 4/24/2018
1.1.24 1,009 4/24/2018
1.1.23 1,081 4/24/2018
1.1.22 1,013 4/24/2018
1.1.21 1,003 4/24/2018
1.1.20 1,025 4/24/2018
1.1.19 1,041 4/24/2018
1.1.18 1,018 4/24/2018
1.1.17 976 4/24/2018
1.1.15 1,019 4/24/2018
1.0.14 1,028 4/24/2018