none
"No EditorOptionDefinition export found for the given option name" error in Visual Studio RRS feed

  • Question

  • I'm getting this error message when trying to open a code file in a solution; it happens periodically and disappears after some time, and then starts happening again after some period of time.

    Any ideas how to fix it?

    VS2013 Pro Update 4, Windows 7 x64 SP1

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    No EditorOptionDefinition export found for the given option name: Adornments/HighlightCurrentLine/Enable

    Parameter name: optionId
    ---------------------------
    OK   
    ---------------------------

    Tuesday, October 20, 2015 2:01 AM

Answers

  • Hi Andrey_F,

    Please create a new solution to check whether this problem is occurred with all solutions or just with a specific solution.

    If occurred with a specific solution, please rename or remove the ComponentModelCache folder in the path of %LocalAppData%\Microsoft\VisualStudio\12.0\. It will be re-generated by Visual Studio. Before you rename or remove it, please close Visual Studio first.

    If occurred with all solutions and above step doesn't work, please try repair Visual Studio through Control Panel -> Visual Studio 2013 -> Change -> Repair.

    Best Regards,
    Weiwei

    Wednesday, October 21, 2015 3:29 AM
    Moderator

All replies

  • Hi Andrey_F,

    Please create a new solution to check whether this problem is occurred with all solutions or just with a specific solution.

    If occurred with a specific solution, please rename or remove the ComponentModelCache folder in the path of %LocalAppData%\Microsoft\VisualStudio\12.0\. It will be re-generated by Visual Studio. Before you rename or remove it, please close Visual Studio first.

    If occurred with all solutions and above step doesn't work, please try repair Visual Studio through Control Panel -> Visual Studio 2013 -> Change -> Repair.

    Best Regards,
    Weiwei

    Wednesday, October 21, 2015 3:29 AM
    Moderator
  • Thanks, the first option helped.
    Tuesday, July 2, 2019 6:47 AM