AssemblyInfo.cs subversion and TortoiseSVN

后端 未结 7 1008
情歌与酒
情歌与酒 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:28

    You could use the SubWCRev tool which comes with TortoiseSVN (also available separately).

    Either run it from a command line or use the COM-Object it offers.

    The SubWCRev command line tool replaces keywords inside a file with information from your svn working copy. An example is shown in the docs.

提交回复
热议问题