开发者

TFS: Managing assembly version number?

any good approach for managing assembly version numbers in TFS, possibly together with using the same number for the build number?

I would be most interested in an approach that:

  • Maintains the first three elements of the version
  • Counts the rest upward for every "official" build (i.e. a build originating from certain templates only - no need to count up for something like a gated checkin, but the following regular integration build SHOULD count up.
  • Labels the builds, so that a manual "release" build can be triggered.

Any solution? How are other people handling开发者_开发知识库 this? Right now the (new) TFS is happily building with the same assembly version all around ;)

Something coding the complete assembly version with date etc. is not acceptable - I want that number to "follow rules", and having the date in there is not one of them ;)


This article (archived here) on how to create custom TFS workflow activities might be useful, as the example activity he creates does something similar to what you're after.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜