[Tip] Python snippet increases the UWP product version

If you have a C# project and want to manage the assembly version info during automation build process such as the msbuild with Jenkins, then two options are available:

  1. Specify the version number in AssemblyInfo.cs to with asterisk(*) – n.n.* (for example, ‘1.0.*’)
  2. Or you might want to manage it with a build script such as python or powershell.

Here is a python build script to manage the version string within AssemblyInfo.cs and Package.appxmanifest.