How can I AutoIncrement the assembly (build) number in Visual Studio?
+2
A:
You can just use a wildcard in the AssemblyVersionAttribute:
[assembly: AssemblyVersion("1.0.*")]
This will cause build to be equal to the number of days since January 1, 2000 local time.
Mark Cidade
2008-10-14 18:41:27
+1
A:
Maybe this is what you want from Code Project. Otherwise, you can do it from the property of the project by using the *.
Daok
2008-10-14 18:42:20
+1
A:
I use http://code.mattgriffith.net/UpdateVersion/ in a batch file as a pre-build step with calls to interact with our revision control system.
kenny
2008-10-14 18:42:51
A:
Setting it as such should do so:
[assembly: AssemblyVersion("1.0.*.*")]
hangy
2008-10-14 18:43:25