无法加载引用中可见的程序集(.DLL) [英] Can't Load Assembly (.DLL) that's visible in References
本文介绍了无法加载引用中可见的程序集(.DLL)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如屏幕截图所示,VS 2010无法加载我的OAuth参考,尽管它在我的参考文件夹中正确存在.我究竟做错了什么?我已经重新启动了VS 2010.
As shown in the screenshot, VS 2010 is failing to load my OAuth reference despite the fact that it is RIGHT THERE in my References folder. What am I doing wrong? I have already restarted VS 2010.
感谢您的帮助.
推荐答案
问题是VS 2010在每次尝试构建时都删除了程序集.我找到了解决方法:
The problem was VS 2010 was deleting the assembly every time I would try to build. I found the solution:
您需要将目标框架从".NET Framework 4客户端配置文件"更改为".NET Framework 4"
You need to change your target framework from ".NET Framework 4 Client Profile" to ".NET Framework 4"
参考 http://social.msdn.microsoft.com/Forums/zh-CN/vststest/thread/1537c41b-52b9-4e47-91b2-2e38b8fdfbfa/
这篇关于无法加载引用中可见的程序集(.DLL)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文