1

I'm working with WiX installer and trying to open my Installer files .wxs for editing and i'm getting a this error.

No EditorOptionDefinition export found for the given option name:TextViewHost/LineNumberMargin Parameter name:optionId

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
  • I am not able to find ComponentModelCache folder in my system. – Vishal Kadam Patil Oct 16 '15 at 10:36
  • 1
    [http://stackoverflow.com/questions/23893497/no-editoroptiondefinition-export-found-error](http://stackoverflow.com/questions/23893497/no-editoroptiondefinition-export-found-error) Isnt it easier to google it than to create an account and ask? – hellogoodnight Oct 16 '15 at 10:36
  • hellogoodnight thank you for your comments but I already googled it and there very few solution which i have tried but yet not get resolved. – Vishal Kadam Patil Oct 23 '15 at 09:27

2 Answers2

6

Follow the steps:

1.Close Visual Studio

2.Open the folder: %LocalAppData%\Microsoft\VisualStudio\12.0\

3.Rename the ComponentModelCache folder

4.Restart Visual Studio. Visual studio will recreate the folder and all will be well with the world (or at least VS).

Pavani
  • 61
  • 1
  • 3
  • This does actually helped me as well, Thank you for that. But could you please explain on what is the root cause here? – Aravinth Nov 29 '22 at 13:40
0

I was facing the exact issue where I was not able to open any files(code) . The easiest way in which we can resolve issue is to download the visual studio web essentials .(http://vswebessentials.com/download) Once you download you will be able to open your files and no error will be thrown.

thanks, Abhimanyu

Abhimanyu
  • 59
  • 1
  • 5