VS2013:错误加载解决方案('JavascriptWebExtensionsPackage 未正确加载') [英] VS2013: Error Loading Solution ('JavascriptWebExtensionsPackage did not load correctly')

查看:25
本文介绍了VS2013:错误加载解决方案('JavascriptWebExtensionsPackage 未正确加载')的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2013 Professional 刚开始在切换解决方案时向我抛出这个错误.完全重新启动计算机并没有解决问题.

Visual Studio 2013 Professional just started throwing this error on me, in the middle of switching solutions. A full reboot of the computer didn't resolve it.

这是我在尝试加载解决方案时看到的错误:

Here's the error I see when I try loading a solution:

现在,当我查看它建议的日志文件时,我看到了:

Now, when I go look at the log file it suggests, I see this:

SetSite 包 [JavaScriptWebExtensionsPackage] 失败

SetSite failed for package [JavaScriptWebExtensionsPackage]

结束包加载 [JavaScriptWebExtensionsPackage]

End package load [JavaScriptWebExtensionsPackage]

如果我点击是"继续显示消息,并尝试在解决方案中加载文件 - 我收到此消息:

If I click "Yes" to continuing to show the message, and try loading up a file in the solution -- I get this message:

告诉我 没有找到给定选项名称的 EditorOptionDefinition 导出:Tabs/ConvertTabsToSpaces - 参数名称:optionId.

我真的不知道该怎么办.除了将一些文件签入到 TFS(我每天、每周、每年执行数十次)之外,我什么也没做.我以前从未做过的唯一事情是尝试查看文件上的源代码>注释(我一生中从未使用 TFS/VS 这样做过)大约 10 分钟前 - 但是效果很好,而且很笨拙.

I really do not know what to make of this. I didn't do anything except check in some files to TFS (which I do dozens of times a day, a week, a year). The only thing I ever did differently that I never did before was attempt to view Source>Annotations on a file (I've never did that in my life with TFS/VS) about 10 minutes prior - but that worked fine and was just ducky.

那么 - 我收到这条消息的原因是什么 - 以及如何在不完全重新安装的情况下解决它?

So - any ideas why I'm getting this message - and how to resolve it without a fullblown re-install?

推荐答案

因此 - 在发布此内容并添加最后一个屏幕截图(无 EditorOptionDefinition 导出...业务)之后 - 我决定也搜索该短语(其他关键短语没有给我带来任何好处).

So -- after posting this and adding that last screenshot (the No EditorOptionDefinition export... business) -- I decided to google on that phrase as well (the other key phrases brought me nothing).

它把我带到了这个页面:未发现 EditorOptionDefinition 导出错误

It brought me to this page: No EditorOptionDefinition Export Found Error

这实际上解决了问题.

简而言之:

  1. 关闭 Visual Studio
  2. 打开%UserProfile%AppDataLocalMicrosoftVisualStudio文件夹
  3. 重命名或删除ComponentModelCache文件夹
  4. 重新启动 Visual Studio.

这篇关于VS2013:错误加载解决方案('JavascriptWebExtensionsPackage 未正确加载')的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆