AssemblyInfo.cs subversion and TortoiseSVN

后端 未结 7 976
情歌与酒
情歌与酒 2020-12-24 16:03

I\'m using TortoiseSVN and Visual Studio 2008. Is there any way to update my project\'s assemblyinfo.cs with svn\'s version in every build?

For example, 1.0.0.[svn\'

7条回答
  •  轮回少年
    2020-12-24 16:09

    I do this in my build script:

    
      
    
    
    

    using the community build tasks. This essentially applies a regex to the AssemblyInfo.cs, replacing the current revision with the svn revision.

提交回复
热议问题