Closed sheam closed 4 years ago
System.MissingMethodException HResult=0x80131513 Message=Method not found: 'Void RestSharp.RestRequest..ctor(System.String, RestSharp.Method)'.
I am having the same issue. Is there a fix for this?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
The latest version of the C# SDK works with the latest version of RestSharp. If you're not able to use 2.10.2 or later then you will need to use the fork that @sheam provided.
I was wrong before, the latest version of RestSharp (106.5.4) does indeed break our SDK. For now, feel free to use Sheam's forked repo, and we'll update this once we have a better solution.
Thanks for your patience!
Thank you for the update. Were you able to recreate the problem or would you like some source code and screen shots?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Stephen Josey notifications@github.com Sent: Monday, November 19, 2018 6:27:16 PM To: square/connect-csharp-sdk Cc: RobertAba; Comment Subject: Re: [square/connect-csharp-sdk] Need up to date version of RestSharp (#81)
I was wrong before, the latest version of RestSharp (106.5.4) does indeed break our SDK. For now, feel free to use Sheam's forked repo, and we'll update this once we have a better solution.
Thanks for your patience!
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/square/connect-csharp-sdk/issues/81#issuecomment-440091541, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArEMKiJFd4f4JImpGqdHzqjo9KWI8LCdks5uw0xkgaJpZM4XvIrh.
I updated our app to the latest versions of Square Connect and RestSharp and couldn't figure out why everything broke until I found this thread. Any update on when Square and RestSharp will play nice?
Do you plan to update your SDK to the latest version of RestSharp?
Hi all - we've migrated to a new .NET SDK: https://github.com/square/square-dotnet-sdk. This should work better for you all, but please let us know in the new repo if you do experience any issues. Thanks!
I get a lot of warning in my build because other packages use up to date versions of RestSharp. But Square doesn't work with recent versions of RestSharp.