learn.forge.viewhubmodels icon indicating copy to clipboard operation
learn.forge.viewhubmodels copied to clipboard

Method not found: 'RestSharp.RestRequest RestSharp.RestRequestExtensions.AddFile

Open Jan21021 opened this issue 3 years ago • 0 comments

Hehey evryone! Thank you very much for that great tutorial. I habe a dump question: I want to run the example but i allways get the following Error:

<ExceptionMessage>Method not found: 'RestSharp.RestRequest RestSharp.RestRequestExtensions.AddFile(RestSharp.RestRequest, System.String, System.Func`1<System.IO.Stream>, System.String, System.String)'.</ExceptionMessage>

My API Controller is reachable but it seems from my standpoint that there is a problem with the RestSharp Nugget in its newest version. Im using RestSharp Version 108.0.2. with Autodesk.Forge Version 1.9.7.

A tipp how to avoit that problem would be nice =)

Best Regards!

Jan21021 avatar Oct 10 '22 19:10 Jan21021