我已将我的 WP7 应用程序升级到 WP8,但我似乎遇到了一个问题,我找不到合适的解决方案。
我尝试下载 WatTmdb 源代码,更新 restsharp .dll,构建项目并尝试使用新的程序集,但我的项目使用的是 RestSharp 103.4.0.0 而不是 104.1.0.0
问题是我在这个应用程序中使用了 RestSharp API 和另一个 API,它工作正常。
有什么建议么?
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()