I see in the Stack Overflow footer that the SVN Revision number is displayed. Is this automated and if so, how does one implement it in ASP.NET?
(Solutions in other languages are acceptable)
I see in the Stack Overflow footer that the SVN Revision number is displayed. Is this automated and if so, how does one implement it in ASP.NET?
(Solutions in other languages are acceptable)
Make sure that the file has svn:keywords "Rev Id" and then put $Rev$ somewhere in there.
In my rails app I have a secret action which literally does this:
render :text => `svn info #{RAILS_ROOT}`
This is the equivalent of Process.Start( "svn info..." ) if you're only familiar with .NET)
If I'm wondering if the guy who manages the servers has updated the site recently, I can hit this URL, and have a look.