I haven't used Visual Studio for the past year because of this problem. When I type anything in Visual Studio 2020, 2019, or 2017, the program freezes up to 5 seconds later, and then crashes, leaving no error.
After I crashed in VS 2019 I did some digging and found the errors in AppDataRoamingMicrosoftVisualStudio16.0_39fc2ef8ActivityLog.xml
I found these 4 errors:
Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.CppSvc.Internal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
C:Program Files (x86)Microsoft Visual Studio2019CommunityCommon7IDECommonExtensionsMicrosoftCodeAnalysisMicrosoft.VisualStudio.CodeAnalysis.VCPlugin.dll
Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.Windows.Simulator.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
c:program files (x86)microsoft visual studio2019communitycommon7idecommonextensionsplatformdiagnosticshubMicrosoft.DiagnosticsHub.VisualStudio.Package.dll
Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.LiveShare.LanguageServices.16.3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
c:program files (x86)microsoft visual studio2019communitycommon7idecommonextensionsmicrosoftmanagedlanguagesvbcsharplanguageservicesMicrosoft.VisualStudio.LanguageServices.LiveShare.dll
Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.LiveShare.LanguageServices.16.3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
C:PROGRAM FILES (X86)MICROSOFT VISUAL STUDIO2019COMMUNITYCOMMON7IDEEXTENSIONSMICROSOFTPYTHONLIVESHAREMicrosoft.PythonTools.LiveShare.dll
System information:
Windows 10 Pro
Visual Studio 16.6.1
question from:
https://stackoverflow.com/questions/65836702/visual-studio-crashes-after-typing 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…