How to create a NuGet package and publish it using an automated build pipeline

Ron Jonkers
11 min readJan 27, 2021

In this post I will teach you how to publish a NuGet package to nuget.org using an automated build pipeline in Azure DevOps.

Where we left off in the last post

In the last post I created a library that allows users to unit test classes that use HttpClient. Now I want to make this library available for various projects, by creating a NuGet package. I finished the last post with a solution consisting of three projects:

--

--

Ron Jonkers

Husband, father, crypto enthusiast and software developer.