How to Fix Your NuGet Config File

If you cannot restore your NuGet files because of a missing entry for NuGet.org or any other problem, open the root folder of your project and run this command:

This will create a new nuget.config file with this content:

From here on, you can add your additional feeds and Visual Studio should recover your packages without any further hassles.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.