上周我的VS2015开始表演了。每次加载项目时它都会崩溃,并在创建项目时给我一个null异常对话框。 我试图修复并恢复到以前的恢复点。什么都没有帮助。最后我卸载并重新安装它,然后它工作了。 今天它再次发生 - 每次加载项目时崩溃(带有TS文件的C#项目)。
在事件日志中我看到了这一点。 .GlobalServiceProvider" could not be satisfied
。任何关于如何让VS再次工作的建议。 ?
提前致谢
的Jesper
Application: devenv.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Microsoft.VisualStudio.Composition.CompositionFailedException: Import "Microsoft.VisualStudio.Editor.Implementation.LegacyContentTypeSource.GlobalServiceProvider" could not be satisfied. ---> Microsoft.VisualStudio.Composition.CompositionFailedException: Value exported from "Microsoft.VisualStudio.ComponentModelHost.VsComponentModelHostExporter.Provider" cannot be assigned to import site "Microsoft.VisualStudio.Editor.Implementation.LegacyContentTypeSource.GlobalServiceProvider".
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.ThrowIfExportedValueIsNotAssignableToImport(RuntimeImport import, RuntimeExport export, Object exportedValue)
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports()
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.SatisfyImmediateImports()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToStateTransitively(PartLifecycleState requiredState, HashSet`1 visitedNodes)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToStateTransitively(PartLifecycleState requiredState, HashSet`1 visitedNodes)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
...