Skip to content

NuGet.Config Credentials Ignored during dotnet restore #46484

Closed Answered by quintessential5
quintessential5 asked this question in Q&A
Discussion options

You must be logged in to vote

Update: This is working for me now.

  • From this discussion I found that deleting C:\Users\{username}\.nuget\plugins\netcore\CredentialProvider.Microsoft and C:\Users\{username}\.nuget\plugins\netfx\CredentialProvider.Microsoft uninstalled the CredProvider and allowed the nuget.config to be respected for whatever reason.
  • I also did a dotnet nuget update source {AzD Artifacts URL} --username dummyName --password {pat} for our two artifact feeds. I had done a remove and add with nuget rather than dotnet nuget before creating this discussion, so I don't know if that was part of the magic or not.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by quintessential5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant