PDA

View Full Version : Increase version of .NET deployment project?


nisse
08-14-2003, 07:39 AM
Is there any way of increasing the version and change the ProductCode for a .NET deployment project.

My intention is to automatically increase the version number of the installation file for each build.

Thanks in advance,
/Nils

kinook
08-20-2003, 08:43 AM
A .NET setup project is just a text file, so you could use a Replace in File action to modify it (you would need to keep the version in a VisBuildPro macro in order to increment it), something like the attached sample.