Hi @Lloyd Sheen ,
I think you can also check following aspects:
- Go to Tools > NuGet Package Manager > Package Manager Settings > Package Sources > check to see if any non-existing package source are still listed there, and try to remove/uncheck them.
- Open Tools > NuGet Package Manager > Manage NuGet Packages for Solution… > select the correct package source(for example select nuget.org) on the right corner of Manage Packages for Solution window.
- Try to restore NuGet packages by right-clicking the solution node > Restore NuGet Packages, or go to Tools > NuGet Package Manager > Package Manager Settings > General > Clear All NuGet Cache(s). And try to use command line to clear all nuget caches, see this document: Clearing local folders.
- Check if any antivirus software and third-party extensions prevent Visual Studio from connecting, checking and updating NuGet packages.
- Try to reset Visual Studio settings. See this document: Reset settings.
- Try to repair Visual Studio from Visual Studio Installer.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.