NuGet.Config Credentials Ignored during dotnet restore #46484
-
On a given machine, On a similar machine, the NuGet.Config is respected as expected (even without the To some extent, I'm curious as to what could be causing the error on the failing machine; but, more importantly, how can I tell |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: This is working for me now.
|
Beta Was this translation helpful? Give feedback.
Update: This is working for me now.
C:\Users\{username}\.nuget\plugins\netcore\CredentialProvider.Microsoft
andC:\Users\{username}\.nuget\plugins\netfx\CredentialProvider.Microsoft
uninstalled theCredProvider
and allowed thenuget.config
to be respected for whatever reason.dotnet nuget update source {AzD Artifacts URL} --username dummyName --password {pat}
for our two artifact feeds. I had done a remove and add withnuget
rather thandotnet nuget
before creating this discussion, so I don't know if that was part of the magic or not.