Closed developervisualapprovals closed 6 months ago
PETOSS-374
Thanks for raising an issue, a ticket has been created to track your request
Is there a fix for this yet?
This is unlikely to get fixed any time soon - they seem to be ignoring it - even though there is an outstanding PR that fixes it (see issue #484). Some more duplicate issues: #442 #472
I encountered this problem after upgrading to .NET Framework 4.8. I have worked around this issue by doing the following:
<dependentAssembly>
<assemblyIdentity name="RestSharp" publicKeyToken="598062e77f915f75" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-110.2.0.0" newVersion="108.0.1" />
</dependentAssembly>
SDK you're using (please complete the following information):
Describe the bug A clear and concise description of what the bug is. This is critical. I am currently utilizing the BoldSign SDK, Google, and other 3rd-party SDKs in my Windows Form application. All these SDKs require the latest RestSharp (version 110.2.0.0). However, the Xero SDK is not compatible with this version, resulting in issues with SearchInvoice APIs and other accounting APIs. The error message returned is: (Method not found: 'RestSharp.RestRequest RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest, System.String, Byte[], System.String, System.String)) I understand the reasons behind this issue and can provide further details if needed. Kindly update the Xero SDK to ensure compatibility with the latest RestSharp.
Thanks. To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. Please upgrade the RestSharp package in Xero SDK and provide new Nuget Package. Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.