This command creates a new package when supplied with a
.nuspec package specification file:
New-Package [[-ProjectName] <string>] [-SpecFileName] <string> [-TargetFile] <string> [-NoClobber] [<CommonParameters>]
Available parameters for this command are shown in Table C-5.
To create a new NuGet package based on the currently selected project in the NuGet Package Manager Console, you simply call
New-Package. This will work if you have a single
.nuspec file—yes, only one!—within this project.
If you want to specify the NuGet manifest ...