将程序集引用添加到我的项目后,我得到fileNotFound异常(VS 2015) [英] After adding an assembly reference to my project, I get fileNotFound exception (VS 2015)
本文介绍了将程序集引用添加到我的项目后,我得到fileNotFound异常(VS 2015)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不确定这里发生了什么,但我正在尝试在我的项目中使用程序集,在添加它的引用之后,我得到"找不到文件"。程序运行时的异常。如果我实际上使用References浏览它是怎么回事 - >添加
参考 - >浏览?
I'm not really sure what's going on here, but I'm trying to use an assembly in my project, and after adding it's reference, I get "file not found" exception when the program is run. How can it not be found if I've actually browsed to it using References->Add Reference->Browse?
我可以使用该库,可以看到所有方法等,但在运行时失败。
I can use the library, can see all the methods, etc, but fails at runtime.
推荐答案
您在谈论什么样的大会?
What kind of assembly are you talking about?
您是否尝试过以下方法:
Have you tried the following:
- 检查路径以便有没有空格(...)
- 检查您是不是在混合使用x64和x86(它是否适用于任何CPU?)
- 检查哪个框架您正在使用的版本
这篇关于将程序集引用添加到我的项目后,我得到fileNotFound异常(VS 2015)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文