The NuGet Pack build runner allows building a NuGet package from a given specification file. If you want to publish this package, add a NuGet Publish build step.
Configure the following options of the NuGet Pack runner:
Select a NuGet version to use from the drop-down list (you need to have NuGet installed), or specify a custom path to
Enter path(s) to
Prefer project files to .nuspec
Check the box to use the project file (if exists, i.e.
Specify the package version. Overrides the version number from the
Select an option from the drop down list to specify the directory where the files defined in the
Specify the path where the generated NuGet package is to be put.
Сlean output directory
Check the box to clean the directory before packing.
Publish created packages to build artifacts
Check the box if you're using TeamCity as a NuGet repository to publish packages to the TeamCity's NuGet server and be able to use them as regular TeamCity artifacts.
Specify one or more wildcard patterns to exclude when creating a package. Equivalent to the NuGet.exe
Semicolon or new-line separated list of package creation properties. For example, to make a release build, you define here
Create tool package – check the box to place the output files of the project to the tool folder.
Command line parameters
Set additional command line parameters to be passed to