Reputation: 1
Is a new Twilio package on the way? I just signed up for your service and I'm getting the exception due to a dependency on RestSharp V104.4. Nuget installs Restsharp v105.0 with the Twilio library.
The error occurs when I hit this line:
var twilio = new TwilioRestClient(AccountSid, AuthToken);
Error is:
Could not load file or assembly "RestSharp, Version=104.4.0.0..."
Upvotes: 0
Views: 721
Reputation: 17855
You can avoid the problem by installing the correct version of RestSharp through Package Manager Console.
Make sure you have the right default project selected in the dropdown and type:
Update-Package RestSharp -Version 104.4.0.0
This should make the problem go away.
Upvotes: 0