gpt4 book ai didi

visual-studio - 遇到异常。这可能是由 Visual Studio 2013 中的扩展引起的

转载 作者:行者123 更新时间:2023-12-03 14:58:07 26 4
gpt4 key购买 nike

我正在使用更新 3 的 VS-2013 Premium 运行。在调试代码和尝试进入 时,我收到此错误消息框:
遇到异常。这可能是由扩展引起的
输入日志文件时(消息中提到了路径),我收到此异常:

<entry>
<record>920</record>
<time>2016/11/02 08:21:03.224</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: EndBatchUpdate called without BeginBatchUpdate being called&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.EndBatchUpdate()&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.EndBatchUpdate()&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(String markerName, IClassificationType classificationType)&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerType.EnsureLazyStateInitialized()&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerManager.GetErrorTags(NormalizedSnapshotSpanCollection spans)&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerManager.ErrorTaggerImplementation.GetTags(NormalizedSnapshotSpanCollection spans)&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.&lt;GetTagsForBuffer&gt;d__5.MoveNext()
</description>
</entry>
同一条目有 4 次以上。即使我已经删除了组件缓存模型,但问题仍未解决:
C:\Users\用户名\AppData\Local\Microsoft\VisualStudio\12.0
其他错误如下:
<entry>
<record>891</record>
<time>2016/11/02 08:21:02.023</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: IWpfTextView.TextViewLines is invalid.&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.get_TextViewLines()&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.AdornmentLibrary.TextMarkers.Implementation.TextMarkerVisualManager.OnFormatMappingChanged(Object sender, FormatItemsEventArgs e)&#x000D;&#x000A; at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Classification.Implementation.ViewSpecificFormatMap.EditorFormatMapChanged(Object sender, FormatItemsEventArgs e)&#x000D;&#x000A; at System.EventHandler`1.Invoke(Object sender, TEventArgs e)&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SendChangedEvent()&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SetProperties(String key, ResourceDictionary properties)&#x000D;&#x000A; at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.SetExplicitTextProperties(IClassificationType classificationType, TextFormattingRunProperties properties)&#x000D;&#x000A; at Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.AddExplicitTextProperties(IClassificationType classificationType, TextFormattingRunProperties properties, IClassificationType priority)&#x000D;&#x000A; at Microsoft.VisualStudio.Editor.Implementation.FontsAndColorsHelper.UpdateLegacyMarkerClassification(IClassificationFormatMap classificationFormatMap, IClassificationType classificationType, ColorableItemInfo[] info)&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(String markerName, IClassificationType classificationType)&#x000D;&#x000A; at Microsoft.VisualStudio.Editor.Implementation.MarkerType.EnsureLazyStateInitialized()&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.MarkerManager.&lt;GetClassificationTags&gt;d__15.MoveNext()&#x000D;&#x000A;
at Microsoft.VisualStudio.Editor.Implementation.TextMarkerViewTagger.&lt;GetTags&gt;d__0.MoveNext()&#x000D;&#x000A;
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.&lt;GetTagsForBuffer&gt;d__5.MoveNext()</description>
</entry>

<entry>
<record>853</record>
<time>2016/11/02 08:19:10.020</time>
<type>Error</type>
<source>Color Theme Service</source>
<description>The color &apos;Popup&apos; in category &apos;de7b1121-99a4-4708-aedf-15f40c9b332f&apos; does not exist.
</description>
</entry>

<entry>
<record>878</record>
<time>2016/11/02 08:19:12.567</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
</entry>

最佳答案

转到工具--> 扩展和更新并从这里禁用所有添加。重新启动视觉工作室。
问题会解决。
希望这会帮助其他人。

关于visual-studio - 遇到异常。这可能是由 Visual Studio 2013 中的扩展引起的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40375535/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com