/teamcity-dotnet-plugin

TeamCity plugin for .NET Core projects

Primary LanguageKotlinApache License 2.0Apache-2.0

.NET CLI Plugin for TeamCity

official JetBrains project License

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.

Features

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

Download

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

Compatibility

The current version of plugin is compatible with TeamCity 2017.1+ and .NET CLI 1.0+.

Configuration

.NET CLI toolkit

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\

Build

This project uses gradle as a build system. You can easily open it in IntelliJ IDEA or Eclipse.

Contributions

We appreciate all kinds of feedback, so please feel free to send a PR or file an issue in the TeamCity tracker.