Visual Studio: How to Auto Increment Version Number
By FoxLearn 9/8/2020 3:08:16 AM 31.22K
This post shows you How to auto-increment version number of assembly in .NET
If you want to increase the assembly version automatically, you can do the following in Visual Studio.
Selecting Tools=>Extensions and Updates...=>Search 'increment version', then download and install 'Build Version Increment Add-In' into your Visual Studio.
After completing the installation, reopen your Visual Studio you will see the Add-in in the tools menu.
Selecting Tools=>Build Version Increment=>Settings
Each version of any application has 4 parameters: Major, Minor, Build, Revision. For example: (188.8.131.52)
- The first number describes the major version.
- The second number describes the minor version.
- The 3rd number describes the order of the build version.
- The last number describes the revised version.
You can configure the way you want to increase the assembly version via the Versioning Style property.
If everything is correct, after each rebuild of your project, you should see the assembly version automatically increase according to the configuration you have installed.
- How to fix 'NonComVisibleBaseClass was detected'
- How to fix 'Couldn't process file resx due to its being in the Internet'
- DevExpress: Can't add NuGet Packages
- Visual Studio: How to group partial class files in Solution Explorer
- How to Optimize your Application using Visual Studio Profiler
- Adding Custom Prerequisites to Visual Studio Setup Project
- How to install Microsoft Visual Studio Installer Projects for Visual Studio
- Download and Install Visual Studio 2017