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.
Given that you can use NuGet.exe to create a package, ...