Can't install packages with NuGet - 500 internal server error

前端 未结 5 1365
臣服心动
臣服心动 2021-01-05 23:40

This makes no sense to me. NuGet was working fine before but now it is throwing a server error when I try to install packages. I\'ve uninstall and reinstall NuGet with the l

5条回答
  •  花落未央
    2021-01-06 00:20

    Happened to me too.

    Try this:

    1. Run VS in admin mode.
    2. Uninstall NuGet from Tools->Extension Manager (Extensions and Updates in VS 2015)
    3. Delete everything in short %AppData%\NuGet or full-named C:\Users\[YourUsername]\AppData\Roaming\NuGet
    4. Reinstall NuGet

提交回复
热议问题