【发布时间】:2014-06-13 09:16:07
【问题描述】:
安装 Visual Studio Professional 2013 更新 2 后,我收到以下错误:
"未找到给定选项名称的 EditorOptionDefinition 导出: 装饰/HighlichtCurrentLine/启用 参数名称:optionId"
ActivityLog 包含以下错误:
<entry>
<record>883</record>
<time>2014/06/13 10:10:10.411</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Construction of frame content failed.
Frame identifier: ST:0:0:{0f887920-c2b6-11d2-9375-0080c747d9a0}
Frame caption: Find Results 1
Exception details:
System.ArgumentException: No EditorOptionDefinition export found for the given option name: Adornments/HighlightCurrentLine/Enable
Parameter name: optionId
 at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptionsFactoryService.GetOptionDefinitionOrThrow(String optionId)
 at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptions.SetOptionValue(String optionId, Object value)
 at Microsoft.VisualStudio.Text.EditorOptions.Implementation.EditorOptions.SetOptionValue[T](EditorOptionKey`1 key, T value)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.SetPropertiesToToolWindowDefaults()
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Init_SetSite(Object pUnkSite)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.SetSite(Object pUnkSite)
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>
在互联网上搜索此问题并没有找到解决方案。
这个问题似乎无关: Visual Studio 2013 Crashed after Update 2?
任何帮助将不胜感激。
【问题讨论】:
-
您是否尝试在控制面板-> 程序中修复它?