CHAPTER 4

image

Publishing Packages

In Chapter 3, we demonstrated how you can create your own NuGet packages. It would be a shame if those packages weren’t available to others, right?

This chapter will bridge the gap between package creation and package consumption. We’ll show you how you can publish those precious packages to a NuGet feed—whether to nuget.org which is available to everyone, or to your own private package feed. You’ll learn that all this relies on three simple things: your NuGet package, a feed, and an API key.

We’ll also explore how you can publish source code and debug symbols along with your binary NuGet package. This will enable ...

Get Pro NuGet, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.