AssemblyInfo.cs中的颠覆和TortoiseSVN [英] AssemblyInfo.cs subversion and TortoiseSVN

查看:151
本文介绍了AssemblyInfo.cs中的颠覆和TortoiseSVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用svn的版本更新我的项目的AssemblyInfo.cs每建?

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?

例如,1.0.0 [SVN的版本] - > 1.0.0.12

For example, 1.0.0.[svn's version] -> 1.0.0.12

推荐答案

您可以使用的SubWCRev 工具附带TortoiseSVN的(也可单独购买)。

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

从命令行运行它,或者使用 COM对象它提供了。

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

SubWCRev命令行工具的替换关键字文件中中的信息来自你的svn工作副本。一个例如显示在文档。

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

这篇关于AssemblyInfo.cs中的颠覆和TortoiseSVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆