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, 2008 or 2010 solution file please use the Visual Studio (sln) build runner). |
General Build Runner Options
| Option |
Description |
| 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 (2.0, 3.5 or 4.0) or Mono xbuild. |
| MSBuild ToolsVersion |
Specify here the version of tools that will be used to compile (equivalent to /toolsversion: commandline argument).
|
| Run platform |
From the drop-down list select the desired execution mode on a x64 machine. |
| Targets |
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. |
Code Coverage
To learn about configuring code coverage options, please refer to the Configuring .NET Code Coverage page.
XML Report Processing
Select a report type to import. You only need to import tests reports, if the automatic tests reporting fails to detect your tests.
| Option |
Description |
| Report type |
Select report format from a drop-down list. The following report formats are supported: PMD, Surefire, Ant JUnit, NUnit, Checkstyle and FindBugs. |
See also:
1 Comment
comments.show.hideNov 13, 2010
Yegor Yarko
A note on how to make MSBuild run from command line runner report output to TeamCity.