Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 7.x, which is not the most recently released version of TeamCity. Please refer to the listing to choose another version.

Table of Contents

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


If you're using TeamCity as NuGet server, you don't need to add this build step. However the output of the NuGet Pack build step should be a build artifact: specify path to it in General Settings of your build configuration.

To configure NuGet Publish:

  1. Select NuGet version to use from the NuGet.exe drop-down list (if you have installed NuGet beforehand), or specify custom path to NuGet.exe.
  2. In the Package Sources field specify the destination to publish the package, by default it's If you have your own NuGet server then fill in the address here.
  3. Provide your API key. This field is mandatory.
  4. List the packages you want to upload: each package individually or using wildcards.
  5. If you want to upload your package, but keep it invisible in feed, select the "Only upload package but do not pusblish it to feed" check box. This works for NuGet versions 1.5 and older.

See also:

Administrator's Guide: NuGet Installer | NuGet Pack