Modifying a Build Definition for Visual Studio 2005 Team Foundation Server
In Visual Studio 2005 Team Foundation Server, a build definition is defined by the presence of the build configuration folder under the directory called TeamBuildTypes at the root of the team project in Team Foundation version control. To edit a build definition, you must manually update these files.
To perform this procedure, you must have the Edit Build Definition permission set to Allow. For more information, see the following page on the Microsoft Web site: Team Foundation Server Permissions.
To modify a build definition for Visual Studio 2005 Team Foundation Server
In Team Explorer, expand the team project for which you want to modify a build definition.
Expand the Builds node, right-click the build definition that you want to modify, and click Edit Build Definition.
Source Control Explorer appears. The folder that contains the files for the specified build definition is active.
In the details pane of Source Control Explorer, highlight the TFSBuild.proj, TFSBuild.rsp, and WorkspaceMapping.xml files. Right-click those files and click Check Out for Edit.
In the Check Out dialog box, click OK.
In Project Explorer or Package Explorer, expand the folder that contains your build definition, right-click the file that you want to modify, and click Open. Perform one of the following tasks:
To modify the build description, to specify a different Ant build file, or to modify build locations, modify TFSBuild.proj.
To specify custom MSBuild command line options, modify TFSBuild.rsp.
To modify the working folders that you want to build, modify WorkspaceMapping.xml.
Save any files that you modified and check in your pending changes. For more information, see Check in Pending Changes (Team Explorer Everywhere).
You can now queue builds for your modified build definition.