Visual studio 2015 VS 2015在加载项目时崩溃

Visual studio 2015 VS 2015在加载项目时崩溃,visual-studio-2015,Visual Studio 2015,上周我的VS2015开始出问题了。每次我加载一个项目时,它都会崩溃,并且在创建项目时会给我一个空异常对话框。 我试图修复并恢复到以前的恢复点。没有任何帮助。最后我卸载并重新安装了它,然后它工作了。 今天它又发生了——每次我加载一个项目(带有TS文件的C#项目)时崩溃 在事件日志中我看到了这一点.GlobalServiceProvider“无法满足要求。是否有任何建议可以让VS重新工作 提前谢谢 小丑 Application: devenv.exe Framework Version: v4.0.

上周我的VS2015开始出问题了。每次我加载一个项目时,它都会崩溃,并且在创建项目时会给我一个空异常对话框。 我试图修复并恢复到以前的恢复点。没有任何帮助。最后我卸载并重新安装了它,然后它工作了。 今天它又发生了——每次我加载一个项目(带有TS文件的C#项目)时崩溃

在事件日志中我看到了这一点
.GlobalServiceProvider“无法满足要求
。是否有任何建议可以让VS重新工作

提前谢谢

小丑

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()
...

你安装了更新2吗?如果没有,那么就安装更新。我确实安装了更新2。我只是做了一次修复(再次-花了几个小时),但在加载项目时仍然崩溃。我卸载了所有插件和扩展。然后只重新安装了TS。现在我可以加载TS项目了