1. 程式人生 > >解決VS開啟檔案出現No EditorOptionDefinition export found for the given option name問題

解決VS開啟檔案出現No EditorOptionDefinition export found for the given option name問題

轉載自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會自動重新建立這個資料夾,就能用了,問題解決~