我有点难以理解这个问题。
我有一个本地项目,通过Nuget添加了Twilio。但是当我将该项目导出到我的IIS服务器时,即使我已经添加了所有的Twilio DLL文件,它也无法使用Twilio。
我认为我在include或其他方面缺少了一些东西..
这是我得到的错误信息:
Exception information:
Exception type: FileNotFoundException
Exception message: Could not load file or assembly 'RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at Twilio.TwilioClient..ctor(String accountSid, String authToken, String accountResourceSid, String apiVersion, String baseUrl)
at Twilio.TwilioRestClient..ctor(String accountSid, String authToken, String accountResourceSid) in C:\projects\twilio-csharp\src\Twilio.Api\Core.cs:line 182
at Modules.Messaging.TwilioClient.Send()