MSBuild
This page contains reference information for the MSBuild Build Runner fields.
General Build Runner Options
Option | Description |
---|---|
Specify the path to the solution to be built relative to the Build Checkout Directory. For example: | |
Specify the path to the Build Working Directory. | |
Select the MSBuild version: .NET Framework or Mono xbuild. Since TeamCity 8.1, Microsoft Build Tools 2013 is also supported. | |
MSBuild ToolsVersion | Specify here the version of tools that will be used to compile (equivalent to the |
Run platform | From the drop-down list select the desired execution mode on a x64 machine. |
A target is an arbitrary script for your project purposes. Enter targets separated by spaces. | |
Specify any additional parameters for | |
Reduce test failure feedback time | Use the following option to instruct TeamCity to run some tests before others. |
Code Coverage
To learn about configuring code coverage options, please refer to the Configuring .NET Code Coverage page.
Implementation notes
MSBuild runner generates an MSBuild script that includes user's script. This script is used to add TeamCity provided msbuild tasks. Your MSBuild script will be included with the <Import> task. If you specified a Visual Studio solution file, it will be called from the <MSBuild> task. To disable it, set teamcity.msbuild.generateWrappingScript
to false
.