Assume your SVN version is the same as the project build version
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.Revision
or, for some assembly that has sometype
System.Reflection.Assembly.GetAssembly(typeof(SomeType)).GetName().Version.Revision
Artem koshelev
source share