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 latest, but still no luck.
PM> Install-Package EntityFramework
Install-Package : The remote server returned an error: (500) Internal Server Error.
At line:1 char:16
+ Install-Package <<<< EntityFramework
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Has anyone seen anything like this? Thanks.
I'm pointed at https://nuget.org/api/v2/
which seems to be live...
Switch to the Browse tab, search for the package name, select it, then select Install). For all packages, delete the package folder, then run nuget install . For a single package, delete the package folder and use nuget install <id> to reinstall the same one.
Starting in Visual Studio 2017, NuGet and the NuGet Package Manager are automatically installed with any . NET-related workloads. Install it individually by selecting the Individual components > Code tools > NuGet package manager option in the Visual Studio installer.
Happened to me too.
Try this:
%AppData%\NuGet
or full-named C:\Users\[YourUsername]\AppData\Roaming\NuGet
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With