Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 4.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.

Table of Contents

This page contains reference information for the MSBuild Build Runner fields.


Before setting up the build configuration to use MSBuild as the build runner, make sure you are using an XML build project file with the MSBuild runner. To build a Microsoft Visual Studio 2005 solution file please use the sln2005 runner. To build a Microsoft Visual Studio 2008 solution file please use the sln2008 runner.



Build runner

Select MSBuild from the drop-down list.

Build File Path

Specify the path to the solution to be built, relative to the Build Checkout Directory. For example:

Working Directory

Specify the path to the build working directory.

MSBuild version

Select the framework you want to run either .NET Framework or Mono xbuild.


Mono support is bundled in TeamCity since the 4.1 EAP release.

Run platform

From the drop-down list select the desired execution mode on a x64 machine.


Enter targets separated by spaces. A target is an arbitrary script for your project purposes.

Command line parameters

Specify any additional parameters for msbuild.exe

Reduce test failure feedback time

Use the following option to instruct TeamCity to run some tests before others.

Run recently failed tests first

If checked, in the first place TeamCity will run tests failed in previous finished or running builds as well as tests having high failure rate (a so called blinking tests)

See Also: