Disabling custom NuGet feeds
Scenario - You’re trying to build and/or run a Visual Studio type project and it complains about being unable to access a custom (and for this case unnecessary) NuGet feed, something like:
Assuming that we might well need this feed again in future, just not right now, then a simple solution is to temporarily disable the feed, do what we need to do, then enable the feed again. This can be done from the Visual Studio UI or from the console.
Using the command line
Type the following to view a list of your current feeds:
Disable any problematic ones:
And enable them again:
Written on November 2, 2020