未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”
VS2012启动/加载项目出问题
未能正确加载“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.
D:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE>devenv /resetuserdata
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步