XeroAPI / Xero-NetStandard

A wrapper of the Xero API in the .NetStandard 2.0 framework. Supports Accounting, Payroll AU/US, and Files
MIT License
120 stars 119 forks source link

getReportsListAsync - Method not found RestSharp.RestRequestExtensions.AddFile #472

Closed slykiwi closed 6 months ago

slykiwi commented 1 year ago

SDK you're using (please complete the following information):

Describe the bug I updated my RestSharp v108.0.3 to 109.0.1 and get the the following error in my Xero app when calling getReportsListAsync

Method not found: 'RestSharp.RestRequest RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest, System.String, Byte[], System.String, System.String)'

Additional context csproj files:

RestSharp v108

..\packages\RestSharp.108.0.3\lib\netstandard2.0\RestSharp.dll

RestSharp v109

..\packages\RestSharp.109.0.1\lib\net471\RestSharp.dll

RestSharp 108.0.3 method RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest,System.String,System.Byte[],System.String,System.String,RestSharp.FileParameterOptions)

RestSharp.109.0.1 method RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest,System.String,System.Byte[],System.String,RestSharp.ContentType,RestSharp.FileParameterOptions)

github-actions[bot] commented 1 year ago

PETOSS-292

github-actions[bot] commented 1 year ago

Thanks for raising an issue, a ticket has been created to track your request