TeamCity Cloud
 
2022.08
Get TeamCity Cloud

NuGet Publish

Edit page Last modified: 17 August 2022

The NuGet Publish build runner is intended to publish (push) your NuGet packages to a given feed (custom or default).

When using TeamCity as a NuGet server, there are three ways to publish packages to the feed:

  • as build artifacts of the NuGet Pack build step using the Publish created packages to build artifacts checkbox - in this case you do not need the NuGet Publish build step

  • via the NuGet Publish build step

  • via the ##teamcity[publishNuGetPackage] service message, which ensures the packages are published in all configured NuGet feeds at the end of the current build step and are available in the following build steps

Supported Operating Systems:
NuGet build runners are supported on build agents running Windows OS by default. Linux and macOS are supported when Mono is installed on the agent (only NuGet 3.3+ on Mono 4.4.2+ is supported).

To view the NuGet Installer's settings in Kotlin DSL, click View as code in the sidebar.

This page describes the NuGet Publish runner options:

Administrator's Guide