VS 2010属性页无法显示-已与其底层RCW分离的COM对象无法使用

发布于 2024-11-06 01:59:44 字数 210 浏览 0 评论 0原文

我使用的是 Visual Studio 2010 Ultimate 版本,但现在它不会显示项目属性页面。相反,会出现一条错误消息: 尝试加载页面时发生错误。 已经与其底层RCW分离的COM对象无法使用。

这个错误困扰了我很长时间。我尝试了几乎所有方法(卸载/重新安装/修复/卸载插件等),除了重新安装 操作系统。 帮帮我吧。非常感谢!

I'm using Visual Studio 2010 Ultimate edition, but now it won't show the project properties page. Instead an error message show up saying
An error occurred trying to load the page.
COM object that has been separated from its underlying RCW cannot be used.

This error has plagued me for a long time. I tried almost everything (uninstall/reinstall/repair/uninstall addins, etc) except reinstall
OS.
Help me out. Thx a lot!

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

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

发布评论

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

评论(5

感受沵的脚步 2024-11-13 01:59:44

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

Finally I 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-11-13 01:59:44

重新启动 VS 2010 SP1 解决了我的问题!

Restarted VS 2010 SP1 solved my problem!!!

沙沙粒小 2024-11-13 01:59:44

就我而言,这是 VS2010 的 VSCommands 的最新更新...
完全卸载/重新安装 VSCommands 就完成了这项工作:)

in my case it was the latest update of VSCommands for VS2010...
A complete UnInstall/Re-Install of the VSCommands did the job :)

顾忌 2024-11-13 01:59:44

由于某种未知的原因,这也发生在我身上,结果我不得不禁用源代码控制插件(默认的插件已经愉快地工作了很长时间):
工具 ->选项->源代码控制:将插件设置为“None”并重新启动VS。

This also happened to me for some unknown reason and it turned out I had to disable source-control plugin (the default one that had been happily working for a long time):
Tools -> Options -> Source control : set plug-in to "None" and restart VS.

成熟稳重的好男人 2024-11-13 01:59:44

我在 Microsoft Visual Studio Professional 2015 Service pack 1 中遇到了同样的问题。我发现这是由于GhostDoc Community而发生的。

我将 GhostDoc Community 4.9.x 升级到 5.1.x,并在 Visual Studio 2015 Service pack 1 中解决了问题

I was facing the same issue in Microsoft Visual Studio Professional 2015 Service pack 1. I found that it was happening due to GhostDoc Community.

I upgraded GhostDoc Community 4.9.x to 5.1.x and issue get resolved in Visual Studio 2015 Service pack 1.

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