Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Method not found: Void RestSharp.RestClient..ctor(System.String)

My .Net 7 C# application is given this error.
Sometimes it’s not happend

logcenter log:

System.MissingMethodException: Method not found: ‘Void RestSharp.RestClient..ctor(System.String)’.
at …..service.http.HttpCommunication.HttpAsync(Method httpVerb, String hostUrl, Dictionary2 headers, Object requestObject, Func2 logFunction)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I’m using RestSharp (110.2.0).

API communication discarted.
HttpRequest contruction discarted.

>Solution :

Sadly, sometimes this happens and it appears that RestSharp have removed a method or constructor that is affecting backwards compatibility here.

I believe that the problem is because the two RestSharp versions are different in each dependency. Is there any solution or workaround?

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading