Attempting to create Auto-Versioning System in C# w/Visual Studio 2010
See the question and my original answer on StackOverflowSome version control systems can use keyword expansion mechanism. You could use that to put the change/serial/revision number (or whatever it's called) in the file during checkin or checkout.
Example for TFS: Keyword Substitution / Expansion Check-In Policy