在大会中添加修订号 [英] Adding revision Number in the Assembly

查看:62
本文介绍了在大会中添加修订号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的CC托盘显示上次构建日期为1.0.27.8876.
我希望在关于"页面中显示相同的修订号,即8876.是将以下内容添加到ccnet.config解决方案吗?
< labeller type ="svnRevisionLabeller">
< url> http://bou-filesrv01/cc/Enable/trunk
< major> l< major>
< minor> 0lt; minor>
< labeller>

My CC Tray shows the Last build date as 1.0.27.8876.
I wanted the same revision number i.e 8876 to be displayed in my About page. Is adding the following to the ccnet.config the solution?
<labeller type="svnRevisionLabeller">
<url>http://bou-filesrv01/cc/Enable/trunk
<major>l<major>
<minor>0<minor>
<labeller>

推荐答案

如果要使用特定的程序集版本,则必须自己手动设置该版本,以便输入
If you want a specific assembly version, then you have to manually set that yourself, so you would enter
[assembly:AssemblyVersion("1.0.27.8876")]

如果在版本中的任何位置提供*,则会自动计算.

程序集版本的布局为[主要].[次要].[内部版本].[修订版].默认的内部版本号每天递增,而默认的修订版是随机分配的.

If you supply * in any position in the version, then it is auto calculated.

The layout of the assembly version is [major].[minor].[build].[revision]. The default build number increments daily, whereas the default revision is randomly assigned.


这篇关于在大会中添加修订号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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