Une exception a été rencontrée. Cela peut être causé par une extension de Visual Studio 2013
Je suis en cours d'exécution avec VS-2013 Premium avec mise à jour 3. Pendant le débogage du code et lorsque vous essayez de l'étape , je reçois ce message d'erreur:
Une exception a été rencontrée. Cela peut être causé par une extension
Lors de l'entrée du fichier journal (le chemin d'accès est indiqué sur le message), je vais obtenir cette exception:
<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

chez Microsoft.VisualStudio.Texte.La Classification.La mise en œuvre.EditorFormatMap.EndBatchUpdate()
chez Microsoft.VisualStudio.Texte.La Classification.La mise en œuvre.ClassificationFormatMap.EndBatchUpdate()
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerType.UpdateMarkerFormat(String markerName, IClassificationType classificationType)
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerType.EnsureLazyStateInitialized()
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerManager.GetErrorTags(NormalizedSnapshotSpanCollection travées)
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerManager.ErrorTaggerImplementation.GetTags(NormalizedSnapshotSpanCollection travées)
au Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__5.MoveNext()
Même entrée il y a plus de 4 fois. J'ai même supprimé le composant cache modèle mais le problème n'est pas résolu:
C:\Users\User nom\AppData\Local\Microsoft\VisualStudio\12.0
d'autres erreurs sont comme ci-dessous:
891
2016/11/02 08:21:02.023
Erreur
L'éditeur ou le Rédacteur en chef de l'Extension
Système.InvalidOperationException: IWpfTextView.TextViewLines est pas valide.
au Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Microsoft.VisualStudio.Text.Editor.IWpfTextView.get_TextViewLines()
au Microsoft.VisualStudio.Text.AdornmentLibrary.TextMarkers.Implementation.TextMarkerVisualManager.OnFormatMappingChanged(Object sender, FormatItemsEventArgs e)
au Système.Gestionnaire1.Invoke(Object sender, TEventArgs e)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ViewSpecificFormatMap.EditorFormatMapChanged(Object sender, FormatItemsEventArgs e)
 at System.EventHandler
1.Invoke(Object sender, TEventArgs e)
chez Microsoft.VisualStudio.Texte.La Classification.La mise en œuvre.EditorFormatMap.SendChangedEvent()
chez Microsoft.VisualStudio.Texte.La Classification.La mise en œuvre.EditorFormatMap.SetProperties(String key, ResourceDictionary propriétés)
au Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.SetExplicitTextProperties(IClassificationType classificationType, TextFormattingRunProperties propriétés)
au Microsoft.VisualStudio.Text.Classification.Implementation.ClassificationFormatMap.AddExplicitTextProperties(IClassificationType classificationType, TextFormattingRunProperties propriétés, IClassificationType priorité)
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.FontsAndColorsHelper.UpdateLegacyMarkerClassification(IClassificationFormatMap classificationFormatMap, IClassificationType classificationType, ColorableItemInfo[] info)
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerType.UpdateMarkerFormat(String markerName, IClassificationType classificationType)
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.MarkerType.EnsureLazyStateInitialized()
au Microsoft.VisualStudio.Editor.Implementation.MarkerManager.<GetClassificationTags>d__15.MoveNext()
chez Microsoft.VisualStudio.De l'éditeur.La mise en œuvre.TextMarkerViewTagger.<GetTags>d__0.MoveNext()
au 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 'Popup' in category 'de7b1121-99a4-4708-aedf-15f40c9b332f' 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 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS.0\DESKTOP SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS.1\DESKTOP SDK\</path>
OriginalL'auteur user2932395 | 2016-11-02
Vous devez vous connecter pour publier un commentaire.
Aller dans Outils--> Extensions et de mise à Jour et de désactiver tous les ajouts à partir d'ici. Redémarrez visual studio.
Problème à résoudre.
Espérons que cela aidera d'autres.
Aller à l'Exécuter en appuyant sur la touche Windows+R. Type Devenv.exe /mode sans échec
OriginalL'auteur user2932395