Warm tip: This article is reproduced from stackoverflow.com, please click
credentials nuget visual-studio-2017

Reset NuGet credentials in VS2017

发布于 2020-04-15 10:49:32

I've specified wrong credentials, which then were remembered. How do I make NuGet forget it?

Questioner
kagetoki
Viewed
130
661 2018-03-20 22:14

As SayusiAndo guessed, the credentials were stored in Control Panel -> Credential Manager. After removing of which everything works fine.

UPDATE: Two gotchas (as @Jurri mentioned in the comments):

  1. There may be two credentials to delete (Windows and Generic). The generic one, in my case, had "VSCredentials_" prefix.

  2. Restart VS.