Customize your Team Foundation Build process
If the Default Template does not meet your team's needs, you can create your own customized build process template. You might find that topics about older versions are adaptable even if you are using a more current version of Team Foundation Build (TFBuild).
04 Mar 2014
Start with the default
The Default Template packs a lot of power and offers many options. It might be all you need. Check it out before you try to get fancy.
Before you customize, try a script (TFBuild 2013)
Need to do something the Default Template can't do? If you are using VS and TFS 2013, don't assume you have to customize. You might save yourself time, energy, and future upgrade hassles by using a script instead.
Customize your build process template (TFBuild 2013)
Ready to begin your first custom build process adventure? Walk step-by-step through generous screenshots to get started.
Use and develop custom build process activities (TFBuild 2013)
If the built-in Team Foundation Build (TFBuild) activities don't meet your needs. you can use activities from third parties, or if necessary, implement your own .NET Framework code in a CodeActivity. To help kick start your journey, this topic offers a "Hello World" code sample that you can copy, paste, compile, check-in, and run.
Community TFBuild extensions
Collaborate with other build engineers in the community, or just download what you need. These open source workflow activities, build process template files, and tools are relevant for TFBuild 2010 through 2013.
Rangers customization guide (TFBuild 2012, 2010)
Deep (“200-300 level”) scenario-oriented guidance includes videos, walkthroughs, and samples based on real-world experience to help you customize your build process.
Manage your templates
If you rely heavily on your customized build process templates, you probably need to manage and even make some of them the defaults for your team projects. Jason kindly has written some code that does these things.
Ewald Hofman's customization guide (TFBuild 2010)
Begins with some basics and then walks you through a 16-part tour through screenshots and code samples to customize your build process.
Create a custom activity to apply the build number as the assembly version (TFBuild 2010)
For VS and TFS 2010, this post from Jim Lamb is required reading to get started creating a custom build process activity. Includes link to downloadable code, which you would need to tweak a bit if you want to use it in more current releases.