解决VS打开文件出现No EditorOptionDefinition export found for the given option name问题

来源:互联网 发布:java中finally的用法 编辑:程序博客网 时间:2024/06/05 04:02

转载自http://stackoverflow.com/questions/23893497/no-editoroptiondefinition-export-found-error的第一个回答


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\

  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!


1.关闭VS

2.打开文件夹(这个路径可以直接复制到地址栏)%LocalAppData%\Microsoft\VisualStudio\12.0\

我的Win7下路径是这个:C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\12.0

3.重命名ComponentModelCache 文件夹

4.重开VS

VS会自动重新创建这个文件夹,就能用了,问题解决~

0 0