Use NuGet packages from a private source (Azure DevOps)

by admin

Before you are able to find/install packages from a private NuGet feed you have to add the feed to your “NuGet Package Manager – Package Sources”.

For an article about how to build and deploy NuGet packages, see:

Visual Studio 2022

Find your private package source in Azure DevOps (Navigate to your project -> Artifacts -> Connect to feed -> Visual Studio):

Azure DevOps - Artifacts window
Azure DevOps - Artifacts window - connect to feed - Visual Studio

Enter the source in Visual Studio (Tools -> Options -> NuGetPackage Manager -> Package Sources) and enter the source you copied from the previous step – Visual Studio might prompt your for credentials

Visual Studio 2022 - NuGet Package Manager - Package Sources

Verify you are able to find your package(s)

NuGet Package manager GUI

That’s all there is to it!

Related Posts

1 comment

EditorConfig (and StyleCop Analyzer) - Distribute via NuGet package - Docubear June 13, 2023 - 5:01 am

[…] Use NuGet packages from a private source (Azure DevOps) AnalyzerseditorconfigNuGetStyleCop 0 FacebookEmail previous post […]

Reply

Leave a Comment