Visual Studio 2019 Nuget package manager cannot acces my nuget source

Not TellingU 16 Reputation points
2021-02-27T22:21:44.157+00:00

When I open my nuget source in web browser (https://mysource/nugets/) no authentication is asked, nuget packages are all listed in the browser. The URL opens up only in company domain. But Visual Studio 2019 asks credentials for this nuget source. When I enter my domain username/password then VS cannot access nugets. VS should not ask credentials in the first place. Am I missing something?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,525 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-03-01T05:56:04.963+00:00

    Hi NotTelling,

    You can try to follow these steps:

    1. Clear the caches in C:\Users\ [username]\AppData\Local.IdentityService
    2. Re-add your private server in visual studio(Options>Nuget Package Manager>Package Source)

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**

    2 people found this answer helpful.