[英]Exception : A reference to a higher version or incompatible assembly cannot be added to the project
Whenever I try to add Windows.Web.Http.dll
to my windows phone 8.1 application , in my visual studio 2013 environment, I am getting the following exception. 每当我在Visual Studio 2013环境中尝试将
Windows.Web.Http.dll
添加到Windows Phone 8.1应用程序时,都会遇到以下异常。
A reference to a higher version or incompatible assembly cannot be added to the project
I don't see any "Unblock" options as many bloggers suggest. 我看不到许多博客建议的“取消阻止”选项。
If someone have come across such an error, please share your thoughts.. Thanks in advance 如果有人遇到这样的错误,请分享您的想法。
~Sebastian 〜塞巴斯蒂安
不要使用“浏览”面板,而是在“程序集”面板中搜索您似乎不支持Windows Phone 8.1项目的Windows.Web.Http.dll。
Windows.Web.Http is not supported in Windows Phone 8 Check the requirement section on below documentation link for Windows.Web.Http Windows Phone 8不支持 Windows.Web.Http。请检查以下Windows.Web.Http文档链接上的“要求”部分。
Windows.Web.Http namespace Windows.Web.Http命名空间
For windows phone 8 try using System.Net.WebClient
. 对于Windows Phone 8,请尝试使用
System.Net.WebClient
。
P:S. 警: I will recommend use Windows phone 8.1
我会建议使用Windows Phone 8.1
Hope this helps 希望这可以帮助
在Windows资源管理器中找到该文件。右键单击属性,单击“取消阻止”,然后重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.