No EditorOptionDefinition Export Found Error

后端 未结 8 1476
猫巷女王i
猫巷女王i 2020-12-02 04:50

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:
T         


        
8条回答
  •  无人及你
    2020-12-02 05:32

    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%\Microsoft\VisualStudio\12.0\ (in C:\users\'%userName%'\AppData\Local\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). I love a simple solution, and I hope its of use to anybody else who runs into this issue!

提交回复
热议问题