Bagikan melalui


How to: Modify Settings in TfsBuildService.exe.config file

You can modify the TfsBuildService.exe.config file to:

  • Configure the maximum number of processes used by Team Foundation Build.

  • Generate errors and warnings log files for individual projects instead of individual platform and configuration combinations.

  • Modify the source, binaries and test sub directories names for individual build agents.

Required Permissions

To complete this task, you must be a member of the Administrators group on the Team Foundation application-tier server. For more information, see Team Foundation Server Permissions.

To modify the TfsBuildService.exe.config file

  1. On the Team Foundation application-tier server, click Start, click Control Panel, click Administrative Tools, and then click Services.

  2. Locate the Visual Studio Team Foundation Build, select it, and then click Stop the service on the viewing pane.

  3. Locate the TfsBuildService.exe.config file in <drive>:\Program Files\Microsoft Visual Studio 9\Common7\IDE\PrivateAssemblies on the Team Foundation application-tier server.

  4. Right-click the file and click Open on the drop-down menu.

    The file opens in Visual Studio XML editor.

    • To configure the maximum processes used by Team Foundation Build, change the value of the MaxProcesses key to the maximum number of supported processes.

    • To generate errors and warnings log files for individual projects instead of individual platform and configuration combinations, set the value of the LogFilePerProject key to true.

    • To modify the source, binaries and test results subdirectory names for individual build agents, modify the values of the SourcesSubDirectory, BinariesSubDirectory and TestResultsSubDirectory keys.

  5. To restart the Visual Studio Team Foundation Build service, on the Team Foundation application-tier server click Start, click Control Panel, click Administrative Tools, and then click Services.

  6. Locate the Visual Studio Team Foundation Build, select it and then click Start the service on the viewing pane.

See Also

Concepts

TfsBuildService.exe.config File Settings in Team Foundation Server Components

Understanding Team Foundation Build Configuration Files

Other Resources

Working with Build Definitions in Team Foundation Build