Premkumar
Premkumar

Reputation: 57

Method not found: 'Void RestSharp.RestClient.set_BaseUrl(System.String)'. in TWILIO

I created a webpage to make a phone call using Twilio.

please refer the link

When I execute, it displays following error,

Method not found: 'Void RestSharp.RestClient.set_BaseUrl(System.String)'.

I used same codes on that link.

please help me.

Thank you.

Upvotes: 5

Views: 5354

Answers (1)

Devin Rader
Devin Rader

Reputation: 10366

Twilio evangelist and maintainer of the C# library here.

RestSharp, which the Twilio library uses, just released a new version that introduced a breaking change. I'll be updating the C# library asap to fix this.

In the mean time you can work around this by first installing version 104.4 of RestSharp:

Install-Package RestSharp -Version 104.4

And then installing the Twilio helper library.

Hope that helps and sorry for the inconvenience.

Upvotes: 6

Related Questions