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

查看:287
本文介绍了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:

包[JavaScriptWebExtensionsPackage]的SetSite失败

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:

告诉我No EditorOptionDefinition export found for the given option name: Tabs/ConvertTabsToSpaces - Parameter name: optionId.

我真的不知道该怎么做.除了将某些文件检入TFS(我每天,每周,每年执行数十次)外,我什么也没做.我以前从未做过的 操作是尝试在大约10分钟之前查看文件上的Source> Annotations(我在TFS/VS中一生中从未这样做过),但是效果很好,只是鸭子.

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?

推荐答案

所以-在发布并添加了最后一个屏幕截图(No EditorOptionDefinition export ...业务)之后,我决定也搜索该词组(其他关键短语都没给我带来什么好处.

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

实际上解决了这个问题.

Which actually fixed the problem.

简而言之:

  1. 关闭Visual Studio
  2. 打开%UserProfile%\AppData\Local\Microsoft\VisualStudio\<version>\文件夹
  3. 重命名或删除ComponentModelCache文件夹
  4. 重新启动Visual Studio.
  1. Close Visual Studio
  2. Open the %UserProfile%\AppData\Local\Microsoft\VisualStudio\<version>\ folder
  3. Rename or delete the ComponentModelCache folder
  4. Restart Visual Studio.

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

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