July 2017
Beginner
466 pages
9h 37m
English
As our NuGet spec file is ready, it's time for us to create the NuGet package from the nuspec file. Use the nuget pack command followed by the nuspec file name to start creating the project. Enter the following command in the console window:
nuget pack NuGetDemoLibrary.nuspec
This will create a NuGet package file with the extension .nupkg in the same directory:

The file name will be a combination of the ID and the version that we specified in the .nuspec file. In our case, it generates the file Demo.Packt.Kunal.NuGetDemoLibrary.1.0.0-alpha.nupkg, as you can see in the preceding screenshot.
You will also see a warning ...
Read now
Unlock full access