添加引用出现的错误

在一个Windows Phone(sliverlight)中添加一个dll作为引用的时候出现了如下错误:

A reference to a higher version or incompatible assembly cannot be added to the project.

 

如果这个DLL是你下载的,那有可能是由于Windows 的安全机制导致不能添加。解决方法如下:

右键你的Dll文件->属性->Unblock。

这样就可以正常的添加该Dll文件了。

posted @ 2014-08-06 14:29  逍遥风隼  阅读(280)  评论(0编辑  收藏  举报