C# Restsharp Windows Phone 8支持和FileNotLoad异常
我已经将我的WP7应用升级到WP8,我似乎遇到了一个无法找到正确解决方案的问题 我试过下载WatTmdb源代码,更新restsharp.dll,构建项目并尝试使用新的程序集,但什么都没有,而且我的项目使用的是restsharp 103.4.0.0,而不是104.1.0.0 问题是,我在这个应用程序中与另一个API一起使用RestSharp API,它工作得很好 有什么建议吗C# Restsharp Windows Phone 8支持和FileNotLoad异常,c#,windows-phone-8,restsharp,C#,Windows Phone 8,Restsharp,我已经将我的WP7应用升级到WP8,我似乎遇到了一个无法找到正确解决方案的问题 我试过下载WatTmdb源代码,更新restsharp.dll,构建项目并尝试使用新的程序集,但什么都没有,而且我的项目使用的是restsharp 103.4.0.0,而不是104.1.0.0 问题是,我在这个应用程序中与另一个API一起使用RestSharp API,它工作得很好 有什么建议吗 Could not load file or assembly 'RestSharp.WindowsPhone, Vers
Could not load file or assembly 'RestSharp.WindowsPhone, Version=104.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
System.IO.FileLoadException was unhandled by user code
HResult=-2146234304
Message=Could not load file or assembly 'RestSharp.WindowsPhone, Version=104.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source=WatTmdb.WindowsPhone
StackTrace:
at WatTmdb.V3.Tmdb..ctor(String apiKey, String language)
at WatTmdb.V3.Tmdb..ctor(String apiKey)
at Series.Views.Search..ctor()
找到了答案
我使用了两个不同的API,它们依赖于RestSharp和import,一个版本是103.4.0.0,另一个版本是104.1.0.0
所以我下载了后者引用了它,它就像一个符咒