VS 2010 类图错误“类型无法编辑...”
VS 2010 类图上的一些类以红色标题显示。 “类详细信息”窗口显示所有方法、属性、字段,并且正确地不显示任何事件。但是,每个方法、属性、字段和事件下都有一个条目,说明名称的位置:
“无法编辑该类型,因为 源代码文件包含错误。”
但是,源文件的构建没有错误或警告。
有人看到过这个吗?知道如何修复它吗?
A few of the classes on a VS 2010 class diagram are displayed with a red title. The Class Details window shows all of the methods, properties, fields and correctly shows no events. However, there's an entry under each of methods, properties, fields and events that states where the name should be:
"The type cannot be edited because the
source code file contains an error."
However, the source file builds with no errors or warnings.
Anyone seen this? Any idea how to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
重新启动后,错误消失了。我怀疑关闭并重新打开 VS 2010 可能会造成同样的结果。
After rebooting, the error was gone. I suspect just closing and re-opening VS 2010 may have done the same thing.