This page contains reference information for the MSBuild build runner fields.
The MSBuild runner requires .NET Framework or Mono installed on the build agent. Microsoft Build Tools 2013-2019 are supported.
Before setting up a 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 solution file, you can use the Visual Studio (sln) build runner.
Build file path
Specify the path to the solution to be built relative to the build checkout directory. For example,
Optional. Specify the path to the build working directory if it differs from the build checkout directory.
Select the MSBuild version: .NET Framework, Mono xbuild or Microsoft Build Tools.
Specify here the version of tools that will be used to compile (equivalent to the
From the drop-down menu, select the desired execution mode on a x64 machine.
A target is an arbitrary script for your project purposes. Enter targets separated by spaces. The available targets can be viewed in the Web UI by clicking the icon next to the field and added by checking the appropriate boxes.
Command line parameters
Specify any additional parameters for
Reduce test failure feedback time
Use this option to instruct TeamCity to run the tests which failed in the previous builds before others.
To learn about configuring code coverage options, refer to the Configuring .NET Code Coverage page.