Supporting versioning
Versioning is a critical part of a software release. When it comes to MSIX, it becomes even more important because it ensures that Windows can effectively manage updates. As such, supporting versioning as part of our CI/CD pipeline is critical: if every execution of the workflow could generate an MSIX package with the same version, we wouldn't be able to deploy it if the application was already installed, we would break the auto-update feature if using App Installer, and Microsoft Store wouldn't be able to accept it.
One of the most interesting tools that you can use to support versioning is called Nerdbank.GitVersioning. This is an open source project that is part of the .NET Foundation, which is hosted on GitHub at https://github.com/dotnet/Nerdbank.GitVersioning.
This tool has the following three features that make it a great fit for enabling versioning:
- Version numbers are generated using Git information, such as the Git height or the...