The TeamCity .NET plugin provides support for .NET CLI in TeamCity.
It simplifies building Windows and cross-platform applications that use .NET frameworks and libraries.
The plugin provides the following features for .NET project building:
.NET CLI (dotnet)
build runner- .NET CLI & .NET Core SDK detection on TeamCity build agents
- Auto-discovery of build steps
- On-the-fly test reporting
- Supports code coverage tools
- Cleanup of NuGet caches to meet the agent free space requirements
You can download the plugin and install it as an additional TeamCity plugin. The latest plugin builds:
Branch | Status | Download | TeamCity |
---|---|---|---|
master | Download | 2017.2.x | |
Indore-2017.1.x | Download | 2017.1.x |
The current version of plugin is compatible with TeamCity 2017.1+ and .NET CLI 1.0+.
To use the dotnet
build runner, install .NET CLI and add the .NET CLI tools path to the PATH
environment variable.
You can also configure the DOTNET_HOME
environment variable for your TeamCity build agent user, for instance:
DOTNET_HOME=C:\Program Files\dotnet\
This project uses gradle as a build system. You can easily open it in IntelliJ IDEA or Eclipse.
We appreciate all kinds of feedback, so please feel free to send a PR or file an issue in the TeamCity tracker.