导致此错误的原因是什么以及如何解决?
你好 我已经交付了一个 vb.net 解决方案,其中包含 3 个项目(业务、数据访问、演示)。 最近,当我编译它时,出现以下错误:
“找到的程序集的清单定义与程序集引用不匹配(来自 HResult 的异常......)” 当我双击它时,不幸的是它对我说“该文档无法打开。它已被重命名,删除或移动”
我该如何解决它?我应该说做了几件事,例如作为“干净的解决方案,重建它”,但它不起作用。
你有什么建议?
谢谢
hi
I have delivered a vb.net solution which contains 3 projects (Biz, Data Access, Presentation).
Recently, when I compile it, I get the following error:
"The located assembly's manifest definition does not match the assembly reference(Exception from HResult.....)"
When I double click on it, unfortunately it says to me that "The document cannot be opened. It has been renamed, deleted or moved"
How can I solve it? I should say that did several things such as "Clean solution, rebuild it" but it didn't work.
What's your suggestion?
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该查看 StackOverflow 上的这篇文章: 找到的程序集的清单定义与程序集引用不匹配
我相信它回答了您在此处提出的相同问题。
You should look at this post on StackOverflow: The located assembly's manifest definition does not match the assembly reference
I believe it answers the same question you present here.
这意味着无法找到项目中引用的程序集之一。它已找到程序集,但并不完全匹配,例如版本、区域性或公钥令牌不同。
It means one of the assemblies referenced in your project cannot be located. It has located the assembly but it doesn't fully match it, for ex either the version, culture or public key token is different.