I have an asp.net/C# application that uses subversion for version control.
My application automatically increases its AssembleVersion and AssemblyFileVersion for each assembly that works like a charm, and displays the assembly number on the site administration side.
We track AssembleVersion and AssemblyFileVersion during deployment, however, when a problem arises and we need to roll back to a specific version, we have no idea which revision is intended for the purpose in subversion.
I have few ideas:
- Save AssembleVersion as a comment in each file
- You have a keyword in the commit comments, which is replaced with AssembleVersion for each commit (you still need to figure out how to do this).
Any help and suggestions would be appreciated.
Updated: option โ1โ is actually a stupid idea, because it will mean that every time I build, all files will be marked as updated, and when I complete, each file will be updated
Dusty roberts
source share