Skip to end of metadata
Go to start of metadata

The .NET Process Runner is able to run any .NET assembly under the selected .NET Framework version and platform, optionally with .NET code coverage. You can use it to run xUnit, Gallio or other .NET tests, for which there is no dedicated build runner.


The runner requires .NET Framework installed on the TeamCity Agent.

.NET Process Runner Settings




Specify the path to a .NET executable (for example, to the xUnit console)

Command line parameters

Provide newline- or space-separated command line parameters to be passed to the executable.

Working directory

Specify the build working directory if it differs from the build checkout directory.

.NET Runtime

From the Platform drop-down select the desired execution mode on a x64 machine. The supported values are: Auto (MSIL) (default), x86 and x64.
From the Version drop-down select the desired .NET Framework version.


If you have an MSIL .NET 2.0/3.5 executable, TeamCity can enforce it to execute under any required runtime: x86 or x64, and .NET2.0 or .NET 4.0 runtime.

Code Coverage

If needed, add code coverage.

Note that you do not need to write any additional build scripts.

See also:

Administrator's Guide: Configuring .NET Code Coverage

  • No labels