Isshou wrote:
Even VS 2005 had restrictions for Auto-increment version numbers:
1) Can't auto-increment File Version number (at least in the UI)
2) Specific format is required:
[Major].[Minor].[Build].[Revision], Major and minor need to be set by you but once you declare Build, the third field, to be automatic the Revision, fourth field, must be blank and not zero and not *.
I don't know if VS 2008 is the same or not, I'll test it later or let someone else chime in.
I had this same problem just recently.
In your solution explorer, click on "Show all files", I believe it's the third one near the top of that window.
(double)click on "My Project."
Next, double-click on "AssemblyInfo.vb"
In the code editor, scroll down until you've reached the bottom.
Comment out <Assembly: AssemblyFileVersion("1.0.0.0")>
Replace
<Assembly: AssemblyVersion("1.0.0.0")>
with
<Assembly: AssemblyVersion("1.0.*")>
Click 'Save'.
Then you're done!
The next time you click Build (selection/name of your project), it'll autogenerate your Build and Revision numbers for you. The only time you would have to manually edit the version number is if you're changing the Minor or Major version numbers.