SVN Revision Version in .NET Assembly w/ out CC.NET

前端 未结 8 1132
失恋的感觉
失恋的感觉 2020-12-23 11:55

Is there any way to include the SVN repository revision number in the version string of a .NET assembly? Something like Major.Minor.SVNRev

I\'ve seen mention of doi

8条回答
  •  时光说笑
    2020-12-23 12:55

    You can use a shared Assembly Version file that you can reference in all of your projects.

    UppercuT does this - http://ferventcoder.com/archive/2009/05/21/uppercut---automated-builds---versionbuilder.aspx

    This will give you an idea of what you can do to get versions in your assemblies.

提交回复
热议问题