Professional ASP.NET MVC 4
by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen, Scott Hanselman
Publishing Packages
The previous section looked at how to create packages. Creating packages is useful, but at some point, you may to want to share them with the world. If you don't care to share them, you can still make use of NuGet with private feeds. I cover that later.
Publishing to NuGet.org
By default, NuGet points to a feed located at https://nuget.org/api/v2/.
To publish your package to this feed, you do the following:
Uploading a package takes you to a screen that enables you to verify the metadata for the package, as shown in Figure 10.22. If you want to upload the package but keep it hidden from search results, uncheck the “List this package in search results” option. Note, the package can still be installed if you know the ID and version. This is useful if you want to test the package before you list it publicly.
Using NuGet.exe
Given that you can use NuGet.exe to create a package, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access