安装 Visual Studio 2013 更新 2 后无法加载项目
问题描述:
安装 Visual Studio Professional 2013 更新 2 后,出现以下错误:
After installing Visual Studio Professional 2013 update 2, I get the following error :
"没有找到给定选项名称的 EditorOptionDefinition 导出:装饰品/HighlichtCurrentLine/启用参数名称:optionId"
"No EditorOptionDefinition export found for the given option name: Adornments/HighlichtCurrentLine/Enable Parameters name: optionId"
ActivityLog 包含以下错误:
ActivityLog contains the following error:
<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>
在互联网上搜索此问题没有找到解决方案.
A search on the internet for this problem did not yield a solution.
这个问题似乎无关:Visual Studio 2013 在更新 2 后崩溃?
任何帮助将不胜感激.
答
重新运行安装并选择修复修复了问题.
Rerunning the installation and selecting repair fixed the issue.