Reputation: 519
I get this error that my NuGet config was supposed valid and it tells me to run a NuGet Restore, which I did many times, but it still doesn't manage to run the website. The problem is, that I cannot get into the NuGet Manager either, because VS just tells me that my config was invalid before closing the dialogue all together.
Anyone of you ever experienced this? How can I get at least back to editing my packages?
Upvotes: 1
Views: 2534
Reputation: 3643
Remove-Item $env:APPDATA\Nuget\Nuget.config
Is the one-liner powershell version of @Sigar Dave.
Upvotes: 0
Reputation: 76996
VS17 - NuGet Config invalid
(According to the error messages, we could not give the most direct correct answer for this issue, we can only give you some troubleshootings. In order to avoid losing contact in the round-trip comments, I post those troubleshootings as answer instead of comments.)
nuget.config
in your solution, if yes, please open it and check for XML syntax errors or you can delete it.Hope this helps.
Upvotes: 2
Reputation: 2654
Did you try to
https://stackoverflow.com/a/38340901/1249386
Upvotes: 2