TFS: Managing assembly version number?

Posted by TomTom on Stack Overflow See other posts from Stack Overflow or by TomTom
Published on 2010-04-20T16:13:52Z Indexed on 2010/04/30 3:37 UTC
Read the original article Hit count: 237

Filed under:

Hello,

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 ;)

© Stack Overflow or respective owner

Related posts about tfs2010