Can't install Nuget package "RestSharp"

3k views Asked by At

I have to install the RestSharp NuGet package. But everytime i try to, these error shows up:

Installing via Console:

Installing via Console

Or installing via the NuGet UI:

Installing via UI

I need RestSharp for openALPR API.

Thanks for reading my question and maybe even anwsering it!

With best regards Fabian Maurhart

1

There are 1 answers

0
thmshd On BEST ANSWER

I don't think that this is an error specific to the Package... looks like you could be running a buggy version of NuGet or have a broken cache, found this as a reference, maybe the hints will help, even if this is a bit older.

Excerpt

Downloads:

https://dist.nuget.org/win-x86-commandline/latest/nuget.exe (or check here: https://dist.nuget.org/index.html)

You can run this from anywhere using command prompt or powershell.

Then you can run the following commands:

nuget.exe locals -clear global-packages
nuget.exe locals -clear packages-cache
nuget.exe locals -clear http-cache

Thanks Seeker1437