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

前端 未结 5 1359
臣服心动
臣服心动 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:15

    Had a similar issue on a fresh Visual Studio 2017 Community. Closing the task (ending hanging task) and restarting Visual Studio with ADMIN rights solved the issue.

    0 讨论(0)
  • 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
    0 讨论(0)
  • 2021-01-06 00:23

    Retry, it works now over here.

    0 讨论(0)
  • 2021-01-06 00:26

    From NuGetTeam (@nuget) on Twitter https://twitter.com/#!/nuget

    We are investigating an issue on the NuGet Gallery servers. We will provide an update shortly. We apologize for the inconvenience.

    0 讨论(0)
  • 2021-01-06 00:29

    Visual Studio has this error sometimes. Try restarting your visual studio (I have 2019). If it still doesn't fix, repair your VS installation. This is certainly for future viewers as I also had this problem and fixed by restarting VS

    0 讨论(0)
提交回复
热议问题