VS2010不会显示项目属性(“底层RCW”)?

发布于 2024-10-02 01:36:23 字数 213 浏览 3 评论 0原文

只有有时(我还没有注意到模式),当我右键单击一个项目(各种类型的项目)并选择“ Properties":

尝试加载已与其底层 RCW 分离的 COM 对象时发生错误。

我通常可以在重新启动 VS2010 后查看项目页面。我用的是RTM版本。

什么可能导致此错误?

Only sometimes (I haven't yet noticed a pattern), VS2010 shows the following error (where I'd expect the body of the property page to be) when I right-click on a project (various types of projects) and select "Properties":

An error occurred trying to load the page. COM object that has been separated from its underlying RCW cannot be used.

I can typically view the project pages after restarting VS2010. I'm using the RTM version.

What can cause this error?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浅唱々樱花落 2024-10-09 01:36:23

莱帕德英国。我遇到了同样的问题,最后发现出了什么问题。这是行为不当的插件 - TestDriven.NET。但事情对你来说可能会有所不同。但无论如何,它是插件。找到它的过程是转到“工具->选项”对话框。转到“环境 -> 加载项/宏安全”节点。取消选中“允许加载加载项组件”。然后重新启动 VS 2010,看看问题是否消失。如果是,则它必须是指定文件夹中的插件。下一步是启用加载项,并一一删除列表中的目录,以确定是哪个加载项导致了问题。最后,禁用或简单地删除/卸载它。

LepardUK. I had the same issue and finally found out what had gone wrong. It's misbehaving addin - TestDriven.NET. But things could be different for you. But anyway, it's addins. The process to find this is that you Goto "Tools -> Options" dialog. Goto "Environment -> Add-ins/Macros Security" node. Uncheck "Allow add-in components to load". And then restart VS 2010 to see if the issue goes away. If it does, then it must be an addin in those folders specified. And next step is to enable addins to load, and remove the directories in the list one by one to identity which addin caused the issue. And at last, disable or simply remove/uninstall it.

花心好男孩 2024-10-09 01:36:23

我在使用 Productivity Power Tools 扩展或 StyleCop 时遇到了同样的问题,不记得是哪一个了。更新修复了它。

I had the same problem with Productivity Power Tools extension or StyleCop, don't remember which one. Update fixed it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文