Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
242 views
in Technique[技术] by (71.8m points)

c# - No EditorOptionDefinition Export Found Error

In Visual Studio 2013 I started getting the following error when trying to open C# files:

No EditorOptionDefinition export found for the given option name:
Tabs/ConvertTabsToSpaces
Parameter name: optionID

I was having no issues all morning until I closed and re-opened a C# solution I was working on when this error started. I checked and this error happens when I open any C# project on this computer. I also tried opening the same project from my other computer and it works fine, so this is not a project error.

I have not changed any VS settings, and I was just trying to open the package manager when this presented itself.

I am at a loss and Dr. Google is not of much help thus far.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

After a reboot and some more research I found this post from a blog. The error described is not the same error I am seeing, however, it was close enough to warrant a try.

Follow the steps:

  1. Close Visual Studio
  2. Open the folder: %LocalAppData%MicrosoftVisualStudio12.0 (in C:users'%userName%'AppDataLocalMicrosoftVisualStudio12.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). I love a simple solution, and I hope its of use to anybody else who runs into this issue!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...