添加restsharp参考时出错
我在添加 REstsharp.dll 的引用时遇到问题。它说:
“无法将引用添加到 d:\Vinay sree\RestSharp-101.2\RestSharp.dll,因为它不是使用 Windows Phone 运行时构建的。Windows Phone 项目仅适用于 Windows Phone 程序集。”
添加restsharp.dll 的引用时出错。因此,博客中给出的示例不起作用,因为它给出错误“无法解决执行方法”。
I have a problem adding the reference of REstsharp.dll. It says:
"Reference cannot be added to d:\Vinay sree\RestSharp-101.2\RestSharp.dll because it was not built using the Windows Phone runtime. Windows Phone Projects will work only with Windows Phone assemblies."
error while adding the reference for restsharp.dll. With that the sample given in the blogs doesnot work as it gives error Execute method cannot be resolved.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加对 RestSharp.WindowsPhone.dll 和 Newtonsoft.Json.WindowsPhone.dll 的引用,因为它们是特定于手机的版本。
Add a reference to RestSharp.WindowsPhone.dll and Newtonsoft.Json.WindowsPhone.dll as those are the version specific to the phone.