I use Visual Studio Setup projects to create MSI's for my .Net Applications. It would be nice if I could have my version numbers auto-increment. Even better would be an option to set the installer version equal to AssemblyVersion of the primary output exe.
By default, Visual Studio automatically increments the Revision number of the Publish Version each time you publish the application. You can disable this behavior on the Publish page of the Project Designer.
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio. Select the Configuration Properties > Linker > General property page. Modify the Version property.
If it's not overkill for you, use a BuildServer (like TeamCity (free for up to 20projects). With a little msbuild-coding, you can nicely automate the building of your installers (including automatic revision number incr.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With