0

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

  • 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: https://github.com/NuGet/Home/issues/3078 – thmshd Dec 04 '17 at 17:24
  • 1
    Thanks very much! The Link you provided solved my problem and i managed to install RestSharp! – Fabian Maurhart Dec 04 '17 at 18:46
  • Added as answer, if you want to accept – thmshd Dec 04 '17 at 19:24

1 Answers1

3

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

Community
  • 1
  • 1
thmshd
  • 5,729
  • 3
  • 39
  • 67