本文介绍了得到错误,同时增加使用的NuGet新RestSharp更新。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误在我的Windows服务,当我实例化TwilioRestClient。

I am getting error in my windows service when I instantiate the TwilioRestClient.

它提供了以下错误:

Could not load file or assembly 'RestSharp, Version=104.3.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. 

我更新到最新RestSharp,Twilio.Mvc和Twilio.Api从的NuGet引用和我得到上述错误。如何解决这一问题?

I updated my references to the latest RestSharp, Twilio.Mvc and Twilio.Api from the Nuget and am getting the above error. How to fix this?

推荐答案

Twilio传道这里。

Twilio evangelist here.

我只是推了新的NuGet包更新的参考RestSharp。我也开始了新的版本,这将消除对RestSharp的依赖,以避免这种情况在未来的工作。

I just pushed a new Nuget package with an updated reference to RestSharp. I've also begun working on a new version that will remove the dependency on RestSharp to avoid this in the future.

希望有所帮助。

这篇关于得到错误,同时增加使用的NuGet新RestSharp更新。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 04:22