VS2013: Error Loading Solution ('JavascriptWebExtensionsPackage did not load correctly')

10,732

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).

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

Which actually fixed the problem.

In short:

  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.
Share:
10,732
Jason
Author by

Jason

Updated on June 04, 2022

Comments

  • Jason
    Jason almost 2 years

    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: main error

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

    SetSite failed

    SetSite failed for package [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:

    NoEditorOptionDefinition export found

    Telling me that No EditorOptionDefinition export found for the given option name: Tabs/ConvertTabsToSpaces - Parameter name: optionId.

    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?