Share via


How to: Run a Build on a Build Type

You can use build types in Team Foundation Build to define the settings under which a team project is built. Before running a build on a build type, you must first create one, for more information, see How to: Create a New Build Type.

Running a Build on Build Type

All files located in the Team Build Types folder for a build are downloaded to the build computer (build directory) folder. Ensure that no unnecessary confidential information is stored in this folder.

Note

Build types for Microsoft Office solutions are not supported and are likely to build incorrectly. For more information, see the Microsoft Knowledge Base article, INFO: Considerations for Server-Side Automation of Office (https://support.microsoft.com/default.aspx?scid=kb;en-us;257757).

Required Permissions

To complete this procedure, you must have the Team Foundation Server Start a build permission set to Allow. For more information, see Team Foundation Server Permissions.

To run a build on a build type

  1. In Team Explorer, select the appropriate team project.

  2. On the Build menu, click Build {Team Project Name} to display the Build dialog box.

  3. Under the Build type drop-down list, select the build type that you want to run.

  4. Under Build Location, retain the default computer configured to use the build type or select a Build machine from the drop-down list.

  5. Under Build directory, retain the default directory configured for the build type or change the default directory that the build uses.

    Note

      When selecting the build directory, ensure that the directory has sufficient space to build, insufficient space leads to build failure.

  6. Click Build to start the build.

See Also

Concepts

Overview of Team Foundation Build