VS 2010属性页无法显示-已与其底层RCW分离的COM对象无法使用
我使用的是 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
最后我发现出了什么问题。这是行为不当的插件 - 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.
重新启动 VS 2010 SP1 解决了我的问题!
Restarted VS 2010 SP1 solved my problem!!!
就我而言,这是 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 :)
由于某种未知的原因,这也发生在我身上,结果我不得不禁用源代码控制插件(默认的插件已经愉快地工作了很长时间):
工具 ->选项->源代码控制:将插件设置为“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.我在 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.