VS2010 will not display project properties (“underlying RCW”)?

烈酒焚心 提交于 2019-12-10 14:58:31

问题


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":

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

What can cause this error?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/4138551/vs2010-will-not-display-project-properties-underlying-rcw

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!