Hi
I am using Microsoft Visual Studio Professional 2019
Version 16.11.19 . I amgetting below error .

Thanks
Hi
I am using Microsoft Visual Studio Professional 2019
Version 16.11.19 . I amgetting below error .

Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pankajkumar PatelRank #181 · 13.4K reputationPosted Dec 12, 2022, 11:55 PM EST
Hi Ramco Ramco,
If anyone encounters this kind of problem in the future. I solved it by installing it via Package Manager Console found in (Tools -> NuGet Package Manager -> Package Manager Console) and running the following command:
Notice that the installation for RestSharp version 106.1.0 always kept failing, so I changed the version to 103.1.0. Hope this helps anyone with a similar issue.
For more details:
Hope this will help you!
Amit MohantyRank #112 · 20K reputationPosted Dec 13, 2022, 12:12 AM EST
Hey, RestSharp 108.0.3 support .Net version 4.6.1 and above. So if you want to use RestSharp 108.0.3 then change your application target framework to 4.6.1 or above or you can you can use lower version of RestSharp
Check the below link to check supported frameworks.
https://www.nuget.org/packages/RestSharp#supportedframeworks-body-tab