Automatic application versioning that not only persits between builds, but also doesn't depend on the build number. Below is an example showing how this extension could be used.
Make sure your project file (.csproj or .vbproj) has a version element
Set your Version Mask Override in AAV
AAV will start to automatically increment the masked version number on each build.
Increase your app's minor version
AAV will detect the minor version has increased, and restart the masked incrementation from 0.
Increase your app's major version
AAV will detect the major version has increased, and restart the masked incrementation from 0.
AAV writes the new version number directly into your current build's project file allowing any following tasks to utilize the project version like normal. The new version is also saved to a variable defined in your build definition.
Need help setting up
Check out the wiki on getting started.
Minimum supported environments
All the version numbers
Check out the following scenario:
If you find yourself in this scenario, click here to find out how my Azure DevOps extensions can be made to work together to automate this entire process.
On Visual Studio Marketplace