VB 2008<系统找不到指定的引用> [英] VB 2008 <The system cannot find the reference specified>
问题描述
我使用VS 2008来构建它,因为dll isn'在内部使用,需要与.Net 3.5兼容。任何想法?
编辑:我还发现,引用c#项目中的dll也可以正常工作。
解决方案
使用 DependencyWalker ,我能够发现一些晦涩的dll是间接地是
引用(IEShims.dll),但找不到。经过一些更多的试验和错误,我发现我的项目有指定项目的DEBUG目录的指定参考路径(项目属性 - >引用 - >参考路径)。我不得不删除该参考路径,然后解决了上述问题。
I've created a class library in Visual Studio 2008, and when I try to add the dll as a reference, I get the message in the title for the Path field in my project references. I've been going for a week trying to figure out this issue, and I haven't been able to come up with anything. The strange thing is I can add the same reference to a Visual Studio 2010 project, and it works perfectly fine.
I used VS 2008 to build it because the dll isn't used in house and needs to be compatible with .Net 3.5. Any ideas?
EDIT: I also found out that referencing the dll in a c# project works fine as well. It's only Visual Basic that's causing me problems.
Resolution
Using DependencyWalker, I was able to find out that some obscure dll was indirectly being referenced (IEShims.dll) but couldn't be found. After a little more trial and error, I found my project had a specified reference path (Project Properties -> References -> Reference Paths) that pointed to the project's DEBUG directory. I had to remove that reference path, which then resolved the above issue.
这篇关于VB 2008<系统找不到指定的引用>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!