问题
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..."
回答1:
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.
来源:https://stackoverflow.com/questions/26744241/visual-studio-2013-nuget-loads-restsharp-105-0-with-twilio-library-twilio-is