没有EditorOptionDefinition出口找不到错误 [英] No EditorOptionDefinition Export Found Error

查看:1758
本文介绍了没有EditorOptionDefinition出口找不到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2013,我开始试图打开C#文件时收到以下错误:

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

我整个早上都无问题,直到我关闭并重新打开一个C#解决方案我正在此错误时启动。我检查,当我打开这台电脑上的任何C#项目这种错误发生。我还试图从我的其他电脑打开同一个项目上工作得很好,所以这不是一个项目的错误。

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.

我并没有改变任何VS设置,我只是想打开包管理器时,该presented本身。

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.

推荐答案

在重新启动后,有些更多的研究,我发现这个的帖子从一个博客。描述的错误不是我看到了同样的错误,但是,它是足够接近,值得一试。

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.

按照以下步骤:


  1. 关闭Visual Studio中

  2. 打开文件夹:%LOCALAPPDATA%\\微软\\ VisualStudio的\\ 12.0 \\

重命名文件夹ComponentModelCache

Rename the ComponentModelCache folder

Visual Studio将重新创建该文件夹,一切都会好起来的世界(或至少VS)。我喜欢一个简单的解决方案,并希望使用到别人谁运行到这个问题了!

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!

这篇关于没有EditorOptionDefinition出口找不到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆