Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project does not load after installing visual studio 2013 update 2

After installing Visual Studio Professional 2013 update 2, I get the following error :

"No EditorOptionDefinition export found for the given option name: Adornments/HighlichtCurrentLine/Enable Parameters name: optionId"

ActivityLog contains the following error:

<entry>
    <record>883</record>
    <time>2014/06/13 10:10:10.411</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Construction of frame content failed.&#x000D;&#x000A;Frame identifier: ST:0:0:{0f887920-c2b6-11d2-9375-0080c747d9a0}&#x000D;&#x000A;Frame caption: Find Results 1&#x000D;&#x000A;Exception details:&#x000D;&#x000A;System.ArgumentException: No EditorOptionDefinition export found for the given option name: Adornments/HighlightCurrentLine/Enable&#x000D;&#x000A;Parameter name: optionId&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptionsFactoryService.GetOptionDefinitionOrThrow(String optionId)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptions.SetOptionValue(String optionId, Object value)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptions.SetOptionValue[T](EditorOptionKey`1 key, T value)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.SetPropertiesToToolWindowDefaults()&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Init_SetSite(Object pUnkSite)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.SetSite(Object pUnkSite)&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)&#x000D;&#x000A;   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)&#x000D;&#x000A;   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>

A search on the internet for this problem did not yield a solution.

This question seems unrelated: Visual Studio 2013 Crashed after Update 2?

Any help would be appreciated.

like image 691
Freek Nortier Avatar asked Jun 13 '14 09:06

Freek Nortier


People also ask

Is Visual Studio 2013 still supported?

Visual Studio 2013 - Microsoft Lifecycle | Microsoft Learn. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Can I add workloads after installing Visual Studio?

It's easy to modify Visual Studio so that it includes only what you want, when you want it. To do so, open the Visual Studio Installer, and then add or remove workloads, components, and language packs.


2 Answers

As mentioned in this link

1.Close Visual Studio
2.Open the folder: %LocalAppData%\Microsoft\VisualStudio\12.0\
3.Rename the ComponentModelCache folder
4.Restart Visual Studio.
like image 118
hmfarimani Avatar answered Sep 30 '22 07:09

hmfarimani


I had also faced the same issue after I installed Visual Studio 2013 Update 3. I’ve Visual Studio 2013 Professional edition.

As suggested on this link: http://gerardbeckerleg.wordpress.com/2013/10/24/no-editoroptiondefinition-export-found-for-the-given-option-name/#comment-259

I installed Web Essentials 2013 for VS 2013 and the issue of not opening code files resolved.

Here is link for Web Essentials 2013:- http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361

like image 26
Sagar S. Avatar answered Sep 30 '22 06:09

Sagar S.