简体   繁体   中英

Team Foundation Service build versioning

I want to add the Changeset and the BuildNr into my version number. In example:
4.5. _Changeset_ . _BuildNr_

I have found some solutions for doing it through console and that exists some extensions to add to you an on-premises Team Foundation Server.

But I'm using the hosted Team Foundation Service so I can't add any extension, with Visual Studio 2012 Pro and I can't find any solution. Is it possible?

Actually you do not need to add extensions to the tfs through console (even though this is possible). Working with extensions in TFS 2012, just like the Team Foundation Service works exactly like in TFS 2010. You have to checkin the extension assembly and customize your build templates. This should be also possible with VS 2012 Professional (at least I remember, I did this with VS 2010 Pro).

Take a look at this community post. Also you might read this blog post that handles customization of Team Build.

Last but not least you will find a complete solution on CodePlex . You can completely set it up from Visual Studio's integrated Team Explorer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM