Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width600px

The Pack action creates a NuGet package based on the specified spec or project file.

Column
width300px
Panel
borderColor#D8D8D8
bgColor#FFFFFF
titleColor#FFFFFF
titleBGColor#006396
borderWidth1
titleOn this page:
borderStylesolid

Table of Contents
maxLevel3
minLevel2
printablefalse
 

Column

 

Pack Options

Spec or Project file

The path to a .nuspec or .csproj file to create the package from.

Output Directory

The directory where the package should be created.

Optional Parameters

Configuration

Determines which configuration should be used when building the package from a project (.csproj) file.

Version

Overrides the version number provided in the nuspec file.

Base Path

The base path of the files defined in the nuspec file.

Exclude Pattern

One or more wildcard patterns to exclude when creating a package.

Include sources and symbols

When building a package from a project (.csproj) file, this option causes the source files and symbols to be included in the package.

Prevent default exclusions

Prevents the default exclusion of files and folders beginning with a period (eg .hg/, .hgignore)