MSBuild.Version.Target
1.1.17
See the version list below for details.
dotnet add package MSBuild.Version.Target --version 1.1.17
NuGet\Install-Package MSBuild.Version.Target -Version 1.1.17
<PackageReference Include="MSBuild.Version.Target" Version="1.1.17" />
paket add MSBuild.Version.Target --version 1.1.17
#r "nuget: MSBuild.Version.Target, 1.1.17"
// Install MSBuild.Version.Target as a Cake Addin #addin nuget:?package=MSBuild.Version.Target&version=1.1.17 // Install MSBuild.Version.Target as a Cake Tool #tool nuget:?package=MSBuild.Version.Target&version=1.1.17
MSBuild.Version.Target
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).
Open the .csproj file of the project (via Notepad, Notepad++, VS Code, any text editor you prefer) and at the bottom of the file add the following code (NuGet dosen't allow changes in the .csproj automaticly):
<Target Name="BeforeBuild">
//..others targets calls already in your .csproj BeforeBuild target, if any.
<CallTarget Targets="MSBuild.Version.Target" />
</Target>
Be careful, check if you already have a target named "BeforeBuild" in your .csproj, if so, just call the target to increment, else create the Target BeforeBuild as the example above
Learn more about Target Frameworks and .NET Standard.
This package has 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 |
---|---|---|
4.0.111 | 262 | 9/2/2024 |
4.0.105 | 106 | 8/27/2024 |
4.0.100 | 122 | 8/26/2024 |
4.0.84 | 1,145 | 6/19/2024 |
4.0.83 | 5,613 | 4/22/2024 |
4.0.71 | 1,761 | 12/14/2023 |
4.0.65 | 1,570 | 11/9/2023 |
4.0.60 | 653 | 9/23/2023 |
4.0.55 | 302 | 9/23/2023 |
4.0.52 | 292 | 9/20/2023 |
4.0.47 | 844 | 7/24/2023 |
4.0.46 | 287 | 7/17/2023 |
4.0.43 | 759 | 6/19/2023 |
4.0.39 | 406 | 6/7/2023 |
4.0.33 | 782 | 5/4/2023 |
4.0.32 | 192 | 5/3/2023 |
4.0.27 | 548 | 4/3/2023 |
4.0.14 | 1,060 | 1/24/2023 |
4.0.13 | 1,070 | 9/13/2022 |
3.0.60 | 1,467 | 7/26/2020 |
3.0.59 | 564 | 6/27/2020 |
3.0.52 | 488 | 6/27/2020 |
2.0.47 | 714 | 9/18/2019 |
1.1.44 | 1,038 | 8/21/2018 |
1.1.43 | 845 | 8/21/2018 |
1.1.42 | 877 | 8/21/2018 |
1.1.41 | 900 | 8/16/2018 |
1.1.40 | 930 | 8/16/2018 |
1.1.39 | 886 | 8/16/2018 |
1.1.38 | 916 | 8/15/2018 |
1.1.37 | 844 | 8/15/2018 |
1.1.36 | 1,076 | 4/25/2018 |
1.1.35 | 996 | 4/24/2018 |
1.1.34 | 1,010 | 4/24/2018 |
1.1.33 | 1,076 | 4/24/2018 |
1.1.32 | 1,016 | 4/24/2018 |
1.1.31 | 988 | 4/24/2018 |
1.1.30 | 986 | 4/24/2018 |
1.1.29 | 982 | 4/24/2018 |
1.1.28 | 992 | 4/24/2018 |
1.1.27 | 1,029 | 4/24/2018 |
1.1.26 | 976 | 4/24/2018 |
1.1.25 | 1,006 | 4/24/2018 |
1.1.24 | 999 | 4/24/2018 |
1.1.23 | 1,073 | 4/24/2018 |
1.1.22 | 1,004 | 4/24/2018 |
1.1.21 | 996 | 4/24/2018 |
1.1.20 | 1,017 | 4/24/2018 |
1.1.19 | 1,033 | 4/24/2018 |
1.1.18 | 1,011 | 4/24/2018 |
1.1.17 | 968 | 4/24/2018 |
1.1.15 | 1,013 | 4/24/2018 |
1.0.14 | 1,021 | 4/24/2018 |