intercom / intercom-dotnet

Intercom API client library for .NET
https://developers.intercom.io/reference
Apache License 2.0
63 stars 53 forks source link

Could not load type 'RestSharp.IRestClient' #183

Open dbnetdev opened 1 year ago

dbnetdev commented 1 year ago

Hi, Using the 2.1.1 version of the package in a solution to handle data sync tasks in our backend. There is an error with RestSharp package: "Could not load type 'RestSharp.IRestClient' from assembly 'RestSharp, Version=108.0.3.0, Culture=neutral, PublicKeyToken=598062e77f915f75'"

After testing in local, I was able to confirm that if I lower the RestSharp package version to 106.15.0, the error goes away. It leads me to believe this is related to incompatibility of packages. Unfortunately, I cannot lower RestSharp version in my solution as there are other dependencies. Could you take a look at this issue? We are using Intercom service for our users and this is impacting the service.