The Nuget Pack Action is used to create a NuGet Package File (.nupkg).
Name
A friendly name for this action (will be displayed in the stages area).
Enabled
Determines if this action will be run within the relevant stage.
Project / NuSpec File
The location of the .nuspec file. For more information on creating these files please see the NuSpec documentation
Output directory
The location to place the resultant .nupkg files
Base Path
The base path of the files defined in the nuspec file (optional).
Version
The version of the package. This value will overwrite the version number provided in the nuspec file. This can be very useful for allocating version numbers based off build variables (for example $Build.Version$)
Exclude Patterns
A comma delimited list of file patterns to exclude from package creation (for further information on the allowable patterns in this field please see the NuGet documentation).
Configuration
The configuration to use when packaging. This option is relevant when building a .proj file.
Included sources and symbols
Determines if a package containing sources and symbols should be created. When specified creates a regular NuGet package file and the corresponding symbols package.
Use the Tool Folder
Determines if the output files of the project should be put in the tool folder.
Build Project
Determines if the project should be built before building the package.
Prevent Default Exclusions
Prevent default exclusion of NuGet package files and files and folders starting with a dot e.g. .svn, .git, .hg etc
No Package Analysis
Skip package analysis (running of package rules). At the time of writing this includes things like checking for: Invalid Framework Folders, Misplaced Assemblies, Misplaced Script Files, Missing package descriptions etc
Include Referenced Projects
Include referenced projects either as dependencies or as part of the package. If a referenced project has a corresponding nuspec file that has the same name as the project, then that referenced project is added as a dependency. Otherwise, the referenced project is added as part of the package.
Exclude Empty Directories
Prevent inclusion of empty directories when building the package. By Default NuGet will include empty folders.
Minimum Client Version
Sets the minClientVersion attribute for the created package. This value will override the value of minClientVersion (if supplied) in the respective .nuspec file. This represents the minimum version NuGet which can be used to install this package.
Add environment variables to be used by this action