Now this software is really neat. It is based on Microsoft's new MSBuild technology, and rocks. When you get the Team Foundation Server disk you have the ability to install a Team Foundation Build Server, which has the sole purpose of allowing you to specify it as the destination server when issuing a "Build > Build Team Project {your project}" from the VS IDE.
When you create a "Build > New Team Build Type" from within the VS IDE, you get to specify tests that you want to run during the build. Once you have created the New Team Build Type, you can effectively access the MS BUILD XML File it creates under the hood, to edit/customise as much as you like.
How? Simple, go to "View > Other Windows > Source Control Explorer" then Exand the "TeamBuildTypes" folder then access your new {your Build Type folder}, then double click the *.proj file. Then edit away! I need to do some customisation work in this file and set-up a nightly build, so will blog again once I know more! here's a decent MSDN link : http://msdn2.microsoft.com/en-us/library/ms181709(en-US,VS.80).aspx