Моей недавно установлена Visual Studio poped диалогового окна с сообщениемОшибка расширения Visual Studio?
Исключением было встречаются. Это может быть вызвано расширением.
Вы можете получить более подробную информацию, изучив файл 'C: \ Users .... \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0 \ ActivityLog.xml'.
И обнаружил следующие ошибки в файле xml.
MEF компонент вызвал исключение во время выполнения: Microsoft.VisualStudio.Composition.CompositionFailedException: Ошибка при инициализации части «Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTaggerProvider». ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку «Microsoft.VisualStudio.Diagnostics.Utilities, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a» или одна из его зависимостей. Система не может найти указанный файл. в Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTaggerProvider..ctor (SVsServiceProvider serviceProvider, IVsEditorAdaptersFactoryService adapterFactory) --- Конец внутренней трассировки стека исключений --- в Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext (PartLifecycleState nextState) в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState (PartLifecycleState requiredState) в Microsoft.VisualStudio .Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() в Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider. <> c__DisplayClass15_0.b__0()
и
Microsoft.VisualStudio.Composition.CompositionFailedException: Ошибка при инициализации части "Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTaggerProvider". ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку «Microsoft.VisualStudio.Diagnostics.Utilities, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a» или одна из его зависимостей. Система не может найти указанный файл. в Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTaggerProvider..ctor (SVsServiceProvider serviceProvider, IVsEditorAdaptersFactoryService adapterFactory) --- Конец внутренней трассировки стека исключений --- в Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext (PartLifecycleState nextState) в Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState (PartLifecycleState requiredState) в Microsoft.VisualStudio .Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() в Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider. <> c__DisplayClass15_0.b__0() --- Конец трассировки стека из предыдущего места, где было выбрано исключение - в Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider. <> c__DisplayClass15_0.b__0() в Microsoft.VisualStudio.Composition.DelegateServices. <> c__DisplayClass2_0
1.<As>b__0() at System.Lazy
1.CreateValue() в System.Lazy1.LazyInitValue() at System.Lazy
1.get_Value() в Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers (ITextBuffer textBuffer)
Я попытался восстановить VS, но это не поможет. Я также пытался заставить кэш быть перестроена:
- Удалить содержимое папки на "% LOCALAPPDATA% \ Microsoft \ VisualStudio \ 14,0 \ ComponentModelCache"
- Run "Devenv.exe/Настройка" (это находится под «C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE», но должен быть на вашем PATH, если вы откроете командную строку разработчика).
Возможно, вы захотите рассмотреть возможность отправки обратной связи, если вы еще не получили справку> Отправить отзыв. Это соберет некоторые другие журналы и может дать команде, которая владеет этой подсказкой. –