2016-11-02 11 views
4

アップデート3のVS-2013 Premiumで動作しています。コードをデバッグしているときに、このエラーメッセージボックスが表示されます: 例外があります遭遇した。 Microsoft.VisualStudio.Text.Classification.Implementationで例外が発生しました。これはVisual Studio 2013の拡張機能によって発生する可能性があります

<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; 

:これは、ログファイルを(パスがメッセージに記載されている)に入るとき、私はこの例外を取得することにより、拡張

を引き起こされる可能性が.EditorFormatMap.EndBatchUpdate()&#x000D;&#x000A;
、Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.EndBatchUpdate()&#x000D;&#x000A;
、Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(String markerName、IClassificationType classificationType)&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.MarkerType.EnsureLazyStateInitialized()&#x000D;&#x000A;、Microsoft.VisualStudio.Editor.Implementation.MarkerManager.GetErrorTags(NormalizedSnapshotSpanCollectionスパン)&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.MarkerManager.ErrorTaggerImplementation.GetTags(NormalizedSnapshotSpanCollectionスパン)&#x000D;&#x000A; Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1で。 <GetTagsForBuffer> d__5.MoveNext()

同じエントリが4回以上あります。でも、私は、コンポーネントのキャッシュ・モデルを削除したが、問題が解決されていません。

C:\ Users \ユーザーのユーザー名\のAppData \ローカル\マイクロソフト\ VisualStudioを\ 12.0

他のエラーは以下の通りです: 2016/11/02 08:21:02.023 エラー エディタまたはエディタ拡張子 System.InvalidOperationException:IWpfTextView.TextViewLinesが無効です。&#x000D;&#x000A;&#x000A; Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.get_TextViewLines()&#x000D;&#x000A; Microsoft.VisualStudio.Text.AdornmentLibrary.TextMarkers.Implementation.TextMarkerVisualManager.OnFormatMappingChanged(オブジェクト送信者、FormatItemsEventArgs e)&#x000D;&#x000A; 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(オブジェクト送信者、TEventArgs e)&#x000D;&#x000A; Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SendChangedEvent()&#x000D;&#x000A; Microsoft.VisualStudio.Text.Classification.Implementation.EditorFormatMap.SetProperties(String key、ResourceDictionaryプロパティ)&#x000D;&#x000A; Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.SetExplicitTextProperties(IClassificationType classificationType、TextFormattingRunPropertiesプロパティ)&#x000D;&#x000A; Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.AddExplicitTextProperties(IClassificationType classificationType、TextFormattingRunPropertiesプロパティ、IClassificationType優先度)&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.FontsAndColorsHelper.UpdateLegacyMarkerClassification(IClassificationFormatMap classificationFormatMap、IClassificationType classificationType、ColorableItemInfo [] info)&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.MarkerType.UpdateMarkerFormat(String markerName、IClassificationType classificationType)&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.MarkerType.EnsureLazyStateInitialized()&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.MarkerManagerを参照してください。 <GetClassificationTags> d__15.MoveNext()&#x000D;&#x000A; Microsoft.VisualStudio.Editor.Implementation.TextMarkerViewTaggerを参照してください。 <GetTags> d__0.MoveNext()&#x000D;&#x000A; Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1で。 <GetTagsForBuffer> d__5。ツールへのMoveNext()

<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> 
<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> 

+0

これは拡張エラーのようには見えません。何も見ておらず、復興コードもない、かなりわかりにくい問題です。 Fwiwでは、構文エラーを示すために赤い波打ちが必要なコードをデバッグする方法を推測するのは難しいです。 Microsoft Supportにお問い合わせいただく必要があります。お持ちでない場合は、最初に更新プログラム4と5をインストールするように求められます。 –

答えて

6

ゴー - >拡張機能と更新し、ここからすべてのaddingsを無効にします。ビジュアルスタジオを再起動します。 問題が解決します。 これは他人に役立つことを願っています。

+0

それが解決する保証はありません。 – Saulius

+0

Windows + Rキーを押して実行に移動します。タイプDevenv.exe/SafeMode – Dutt93

関連する問題