Just began working with VS 2008 and finally, MS got the version number auto increment right with this release.
Now, if you specify the following in your assemblyinfo.XX file:
<Assembly: AssemblyVersion("1.0.*")>
You'll get a true auto increment based on date/time.
Build number is the number of days since Dec 31, 1999 and Revision number is the number of seconds since midnight, divided by 2.
Something like this:
1.0.3362.13952
If you want more control over it, there is also a nice little add-in out on codeplex that allows you to control it better: http://autobuildversion.codeplex.com/
Also, if you want the AssemblyFileVersion to be the same as the AssemblyVersion, just comment it out or remove it from the assemblyinfo.XX file.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5