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.

images

Get Pro NuGet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.