Hi there!
I'm working on a medium-sized .NET web application written in c#. We are
using Visual Studio 2003 for development and Visual Source Safe as our code
repository. Occasionally, we do a build and a deployment to our production
server using a batch script which extracts the latest version of our code
from VSS, compiles it and copies it onto the production server. All that is
good and well, but I would like to add a small feature to our setup:
Automatically incremented version numbers.
I know that you can specify an assembly version number using a directive
like [assembly: AssemblyVersion("1.0.*")], and the build and revision
numbers should then increment automatically. However, it seems that all
compiles get the same version number. And anyhow, surely we need to check
out some file containing the actual incremented build/revision number and
then check it back in after the build.
It seems so simple and straightforward, but I have not been able to figure
out how to do it. Is there anyone out there with more luck, experience or
brains that could give me a hint?
Thanx in advance for all input
Regards,
AndersWP