Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
This is one of those Friday afternoon problems.
In my 2005 Winforms client I have a nice fancy splash screen that displays the current version - 3.0.0.0 (yes, this is the 3rd version but the 1st .Net version) - which it retrieves from Application.ProductVersion. Under the covers, ProductVersion is actually just AssemblyFileVersion from assemblyinfo.vb/cs.
Now, I wanted to have this auto increment the build number. In VS03, you do something like this: [assembly: AssemblyFileVersion("3.0.0.*")] and the asterix is replaced with the next version on each build. Well this didn't work. All I got was "Version 3.0.0.*" in the splash screen.
Ok, fair enough, probably a beta issue or there is another way of doing it I'm not aware of.
HOWEVER, when I tried to exit the app, it crashed trying to save Properties.Settings.Default. It said there was an invalid character in the file path. Of course, there was an hour between these two issues so it took me a few minutes but eventually I figured that the version number is used in the settings file name. Removing the asterix solved this problem.
FYI