
Checking Out TFSBuild.proj
After you have written your task, you have to register it and call it out in one of the targets so that your task code executes at the desired point in the build process. If you used the MSBuild Project File Creation Wizard to create an MSBuild project file, and accepted the default location in source control, your TFSBuild.proj file is located in the folder $/MyTeamProject/TeamBuildTypes/MyBuildName in your Visual Studio Team System source control. In this scenario, MyTeamProject is the name of your team project and is the root node of all your team project sources, and MyBuildName is the name you gave to your build definition for which you originally created the TFSBuild.proj file.
To determine the source control location of the TFSBuild.proj file, select the build definition in the Builds folder in Team Explorer, right-click it, and then click Edit. The TFSBuild.proj file's source control location is displayed on the Project File pane of the Build Definition dialog.
Note: |
|---|
Do not edit the Microsoft.TeamFoundation.Build.targets file because the customizations will apply to all the builds on that computer.
|
For information on checking out files, see Working with Team Foundation Version Control.