All our projects in our SLN shares a VersionInfo.cs which holds the project version number
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]
I want to staticly define the 3 first parts of the version number and the last part i want to be the working copy SVN revision.
Step number one is to define a pre-build event in VS that triggers a cmd script, is there an easy way of getting the working copy revision from cmd?
Step number two is to insert that number into the VersionInfo.cs file
Theres probably more elegant ways of doing this, if you have one in store just keep in mind that this is a open source project and we do not have a fancy build server or anything like that. The deployment procedure is just put the project in release mode and build :D