The template can be found in:
- [VS2005] C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\1033\tfsbuild.proj
- [VS2008] C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\1033\tfsbuild.proj
Note that those templates are found in the PrivateAssemblies folders which can be overwritten by Maintenance and/or Updates so always make sure the output file is correct
All you have to do is to add your Custom/Overriden Targets, Properties or ItemGroups in their needed locations and Copy the file to each Machine that will create a Team Build.
Hope that helps.
Thanks to Steve for the info