1. 程式人生 > >the nugetpackage did not load correctly

the nugetpackage did not load correctly

Microsoft Visual Studio


The 'NuGetPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file C:\Users\REDACTED\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml

.

Restarting Visual Studio could help resolve this issue.

Continue to show this error message?


[Yes] [No]



解決方案:

Completely removing NuGet via Extensions and Updates, restarting VS then re-installing NuGet via Extensions and Updates solved the issue for me. A full VS reinstall was not necessary.

  1. Tools > Extensions and Updates

  2. Installed>Nuget Package Manager>Unstalled

  3. Online>Nuget Package Manager>Download