VS2010中引用前面的红色感叹号图标是什么意思?
在 Visual Studio 2010 项目属性页中,如果我为 C++ 项目选择“通用属性和框架以及引用”,我可以看到项目中的所有引用。
他们通常有这个图标:
但有时,一些参考文献会显示为:
我尝试用 google 搜索它或在有关参考的 msdn 文档,但找不到与此相关的任何内容。有人知道这个吗?预先非常感谢您!
In Visual Studio 2010 project property pages, if I select Common Properties and Framework and References for a C++ project, I can see all the references from a project.
They usually have this icon:
Sometimes, though, some references appear as this:
I tried to google it or find any documentation about it in the msdn documentation about references, but cannot find anything related to this. Does someone know about this? Thank you very much in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您有 VS2010 SP1 然后安装 .net 4.5,也会发生这种情况。他们改变了处理方式,导致 VS2010 出现问题。 (.net 4.5是随VS2012一起安装的)
This happens also if you had VS2010 SP1 and then install .net 4.5. They changed the handling of this in a way that causes problem in VS2010. (.net 4.5 is installed with VS2012)
我相信这是因为引用的程序集与您的目标应用程序的版本不同。如果我从 .net 3.5 项目引用 .net 4.0 程序集,我也会收到同样的结果。
I believe it is because the referenced assembly is a different version than your target application. I receive the same thing if I reference a .net 4.0 assembly from a .net 3.5 project.