如何查看此 .Net 错误中提到的 PATH?
我遇到错误:
“无法加载 DLL,请检查它所依赖的任何 DLL 是否位于 PATH (SomeLibrary.dll) 中:找不到指定的模块。”
我想知道.Net 在哪里查找这个 DLL。
我怎样才能看到它所依赖的 PATH 详细信息来到达上面提到的 dll?
谢谢
I am having an error which says:
"Failed to load the DLL, check that any DLLs it depends on are in the PATH (SomeLibrary.dll): The specified module could not be found."
I want to know where this DLL is looke up by .Net.
How can I see the PATH details it is relying to reach the dll mentioned above?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它比你想象的更复杂。它从 GAC 开始,但也考察了其他一些地方。这篇文章似乎很好地解释了这一点。
http://ihorwill.blogspot.com/2006/09/net- assembly -分辨率.html
It's more complicated than you might think. It starts with the GAC but also looks in some other locations. This article seems to explain it well.
http://ihorwill.blogspot.com/2006/09/net-assembly-resolution.html