visual-studio - 键入后 Visual Studio 崩溃
问题描述
由于这个问题,我在过去一年没有使用 Visual Studio。当我在 Visual Studio 2020、2019 或 2017 中键入任何内容时,程序最多会在 5 秒后冻结,然后崩溃,没有留下任何错误。在 VS 2019 中崩溃后,我进行了一些挖掘并在 AppData\Roaming\Microsoft\VisualStudio\16.0_39fc2ef8\ActivityLog.xml 中发现了错误
我发现了这4个错误:
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 Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CodeAnalysis\Microsoft.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 studio\2019\community\common7\ide\commonextensions\platform\diagnosticshub\Microsoft.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 studio\2019\community\common7\ide\commonextensions\microsoft\managedlanguages\vbcsharp\languageservices\Microsoft.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 STUDIO\2019\COMMUNITY\COMMON7\IDE\EXTENSIONS\MICROSOFT\PYTHON\LIVESHARE\Microsoft.PythonTools.LiveShare.dll
系统信息:Windows 10 Pro Visual Studio 16.6.1
解决方案
推荐阅读
- bash - 从本地 github 获取拉取的 bash 脚本
- php - 由 Route::view 定义的简单路由会给出错误“Route not defined”,当使用 Route::name 定义时它运行良好
- docker - phpmyadmin 映像的 Docker 拉取访问被拒绝
- git - 从提交创建 git 分支
- c++ - 链接器似乎忽略了库并默认为旧版本
- java - 尝试从 JSON 文件读取时不断收到 java.lang.NullPointerException
- php - DOMDocument 保存未能打开流:如果 https 则权限被拒绝
- python - 比较 2 个字典列表并将缺失(不匹配)的字典从一个列表添加到另一个列表
- android - adb: 无法统计 app/build/outputs/apk/app-debug.apk: 没有这样的文件或目录
- apache - 使用 ApacheDS 创建新模式 LDAP