“发现不同版本之间的冲突”中哪些程序集发生冲突?
我从我的一个项目中收到“发现不同版本之间的冲突”。
如何找出哪些程序集实际上存在冲突?
I am getting "found conflict between different versions" from one of my projects.
How do I find out which assemblies are actually in conflict?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
构建解决方案并检查输出窗口 - 您应该能够在其中看到。
Build the solution and check the output window - you should be able to see in there.
错误列表窗口(CTRL+W、E)应显示哪些程序集发生冲突。否则,输出窗口 (CTRL+W,O) 将显示为构建任意选择的冲突程序集。
The error list window (CTRL+W,E) should show which assemblies were in conflict. Failing that, the output window (CTRL+W,O) will show which of the conflicting assemblies was arbitrarily picked for the build.
替代文本 http://img82.imageshack.us/img82/2484/vs2010sucks2.png< /a>
通常,双击错误会将您带到导致问题的行。在那里您可以检查从引用程序集调用的方法调用。
- 编辑 -
但是,我同意最后的评论;链接错误不会在特定代码行上引发。
alt text http://img82.imageshack.us/img82/2484/vs2010sucks2.png
Usually, double clicking the error takes you to the line causing problems. There you can check the method calls being called from referencing assemblies.
--Edit--
But, I agree with the last comment; link error does not throw on the particular line of code.