i am using the VS2010 Installer project to deploy my application. I can set the RemovePreviousVersions property to True and the installer will override every assembly with changed Version number. Problem is, we have around 30 projects, so it is practically impossible to increase all versions by hand. If i set
[assembly: AssemblyVersion("1.0.*")]
in the AssemblyInfo.cs VS properly generates the number which i can see if i check
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
However, the installer does not reflect this...
So what i want to do is to either force the installer to override ALL assemblies no matter what version number, or i want to force the installer to uninstall the previous version beforehand, or i want visual studio to increase the version number with every build so that the setup project notices it.
As allways it seems to me like the simplest thing in the world but i can't figure how.