是否可以配置 SourceSafe 来更新 AsemblyInfo
在工作中我们有一个(合理的)协议,即每次更新项目时,无论更改多么小,都会反映在装配信息的修订值中。 这样我们总是知道客户端是否缺少补丁或功能等。
由于这需要手动更改版本,而且这是一项繁琐的任务(更糟糕的是,它可能会被忘记),我想知道 Visual SourceSafe (6如果重要的话)可以配置,以便它会在每次签出/签入时自动更新程序集版本?
是否有管理程序集版本的替代/更好的选择?
At work we have an (reasonable) agreement, that every time a project is updated, no matter how small change is, that is reflected in the Revision value of Assembly Information. This way we always know if a client is missing a patch or a feature, etc.
Since this requires manually changing the version, and since this is a tedious task (and worse, it can be forgotten) I was wondering if Visual SourceSafe (6 if it matters) could be configured so it would automatically update assembly version on every checkout / checkin ?
Is there an alternative / better option of maneging assembly versions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议你看看 CruiseControl.NET。 这是一个持续集成服务器,可以为您进行构建,并且还可以为您执行许多其他任务,例如更新版本号、运行单元测试、代码覆盖率分析等。
I suggest you take a look at CruiseControl.NET. This is a continuous integration server that does the building for you, and can perform a number of other tasks for you as well, like update version numbers, run unit tests, code coverage analysis etc.
如果您有构建服务器,则应该将构建服务器配置为在每次构建时自动递增构建/修订号。
If you have a build server you should configure your build server to auto increment the build/revision number with each build.