Using the pack Command to Create Packages

Create a NuGet package based on the specified .nuspec file, a project file, or an assembly name using the pack command:

nuget pack <nuspec | project | assembly> [options]

Available options are shown in Table B-5.


Get Pro NuGet now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.