Tim Deschryver 7/25/2021

Using the .NET CLI to restore packages from a private NuGet feed

Read Original

This technical article details a common issue where the .NET CLI fails to authenticate with a private NuGet feed in Azure DevOps, resulting in a 401 error during package restore. The author explains the problem encountered when switching from Visual Studio to VS Code and provides the solution: installing the Microsoft NuGet Credential Provider via a provided PowerShell or bash script to enable successful authentication and restore operations.

Using the .NET CLI to restore packages from a private NuGet feed

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week