每当我单击 .exe 文件时,引导程序就会出现,加载几秒钟,然后消失。我尝试运行安装清理并确保 Windows 是最新的。我四处寻找并在 Google 上搜索,但根本找不到这个问题的答案。这是一台 Windows 10 个人笔记本电脑。如果我需要提供更多信息,请告诉我我应该提供什么,我很乐意这样做。我很感激任何帮助!
以下是日志:
[9/5/2019, 14:39:30] === Logging started: 2019/09/05 14:39:30 ===
[9/5/2019, 14:39:30] Executable: C:\Users\cshet\Desktop\vs_community__914888294.1537592452__rid.30012.exe v16.2.29215.179
[9/5/2019, 14:39:30] --- logging level: standard ---
[9/5/2019, 14:39:30] Directory 'C:\Users\cshet\AppData\Local\Temp\ecbf740fd1fcd9a45f27ddd0d1\' has been selected for file extraction
[9/5/2019, 14:39:30] Extracting files to: C:\Users\cshet\AppData\Local\Temp\ecbf740fd1fcd9a45f27ddd0d1\
[9/5/2019, 14:39:30] Extraction took 250 milliseconds
[9/5/2019, 14:39:30] Executing extracted package: 'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline ' --env "_SFX_CAB_EXE_PACKAGE:C:\Users\cshet\Desktop\vs_community__914888294.1537592452__rid.30012.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\cshet\Desktop"'
[9/5/2019, 14:39:37] The entire Box execution exiting with result code: 0x0
[9/5/2019, 14:39:37] Launched extracted application exiting with result code: 0x1389
[9/5/2019, 14:39:37] === Logging stopped: 2019/09/05 14:39:37 ===
答案1
一些建议,需要逐点进行,而不是全部一起进行(其中一些您已经做了):
- 尝试再次下载安装。
- 确保您有足够的磁盘空间、Windows 是最新的,并且您的计算机满足 Visual Studio 的要求
- 暂时禁用所有防病毒软件
- 清理
%temp%
文件夹C:\Program Files (x86)\Microsoft Visual Studio\
以及安装程序创建的任何其他文件/文件夹 - 以管理员身份运行安装程序
- 以带网络连接的安全模式启动
- 如果你安装了 Electron,则可能与
NODE_OPTIONS
需要禁用的环境变量发生冲突(请参阅关联)