the application version revision info doesnot increment after rebuilt..
un-like in VS6, the application version revision info doesnot increment after rebuilt..
please help
Re: the application version revision info doesnot increment after rebuilt..
If you are refering to a Desktop Application, have you replaced the value you wish to auto-increment with a * ?
C# Code:
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
If you refering to a web application see this link:
AssemblyVersion and Web Projects
Hope this helps.
Re: the application version revision info doesnot increment after rebuilt..
I have setted below:
[assembly: AssemblyFileVersion("1.0.0.*")]
but it does not work.. and got warning below:
Warning 1 Assembly generation -- The version '1.0.0.*' specified for the 'file version' is not in the normal 'major.minor.build.revision' format NetComm
what I missed?
please help \, thanks
Re: the application version revision info doesnot increment after rebuilt..
The AssemblyFileVersion and AssemblyInformationalVersion attributes do not allow the use of '*'.
To get your Assembly to auto generate the build and revision numbers use '*' in the AssemblyVersion attribute.
C# Code:
[assembly: AssemblyVersion("1.0.0.*")]
Hope this helped.