.NET Process Runner
Last modified: 20 April 2023.NET Process Runner is able to run any .NET assembly under selected .NET Framework version and platform, optionally with .NET code coverage. For example, you can use it to run xUnit, Gallio or other .NET tests, for which there is no dedicated build runner.
To configure .NET process runner:
Specify path to .NET executable (for example to xUnit console) and commandline parameters to be passed to it.
Specify .NET runtime. From the Platform drop-down select the desired execution mode on a x64 machine. Supported values are: Auto (MSIL) (default), x86 and x64. From the Version drop-down select the desired .NET Framework version.
tip
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.
If needed, add code coverage. To learn about configuring code coverage options, please refer to the Configuring .NET Code Coverage.
Note, that you don't need to write any additional build scripts.
Thanks for your feedback!