By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,923 Members | 1,806 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,923 IT Pros & Developers. It's quick & easy.

VSS and automatic increment of assembly version numbers

P: n/a
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

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.