Export (0) Print
Expand All

Modifying a Build Definition for Visual Studio 2005 Team Foundation Server

Visual Studio 2010

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.

Required Permissions

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

  1. In Team Explorer, expand the team project for which you want to modify a build definition.

  2. 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.

  3. 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.

  4. In the Check Out dialog box, click OK.

  5. 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.

  6. 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.

Community Additions

ADD
Show:
© 2014 Microsoft