VS2010启动出问题

未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage, Microsoft.VisualStudio.Editor.Implementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”包。

此问题可能是由配置更改或安装另一个扩展导致的。可以在命令行中使用 /log 参数来运行应用程序,然后检查文件“C:\Documents and Settings\Roman\Application Data\Microsoft\VisualStudio\10.0\ActivityLog.xml”,获取详细信息。

原因按官方说法是:

contains files (on the Visual Studio 2010 directory) related to a previuosly removed Beta1 or RC release. It seems that the Installer does not overwrote all the older versions of GAC DLLs.

可能是我之前安装了VC2010 Express,卸载了之后没有重启动,但是重新装一遍未免太麻烦了。

这个解决办法挺好:

Try running this command in a Visual Studio 2010 command prompt. This fixes the problem for me.
devenv /resetuserdata
原文地址:https://www.cnblogs.com/s5689412/p/2053728.html