TFS 2010

Sep 20, 2011 at 12:11 PM

How can I integrate this great tool in my TFS 2010 build process?

Has anybody done this already?

Oct 3, 2011 at 6:22 PM

I think what you're asking is how would you integrate a versioning tool like this into TFS Build. Using this link, you can do this. I've done it and it's pretty straightforward. I can even send you my code, which just extends the build template that ships with TFS 2010. It's not as complete as this, but with a little tweaking it could be. And because it doesn't change files in your project, it uses an external file for the build number.

Doing it via a VS plugin,however,solves the biggest issue of incorporating versioning into continuous integration builds, which is you don't want to check out (and in) your assemblyinfo while TFS Build is building. This will result in a 'build loop', as the assemblyinfo that is checked out (and checked back in) will trigger another build. 

If you aren't using continuous integration or rolling builds that trigger off of checkins, such as scheduled or manual, then you could use a TFS Build tweak to do this.