Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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 file and project to be used, you could provide those values as follows:
New-Package -Project MyProjectName -SpecFileName MyPackage.nuspec