我正在尝试在 Windows 10 上安装 Visual Studio 2019 Community Edition。
我已经从官方网站下载了网络安装程序。单击安装程序后,我会卡在这个屏幕上,显示“正在下载:0B 的 0B”
Stuck on this screen
我检查了安装日志,其中显示了以下消息。
“VisualStudio Bootstrapper:02/12/2020 2:50:48 PM:WebClient 在‘https://aka.ms/vs/16/release/installer’中失败,‘操作已超时’-‘https//aka.ms/vs/16/release/installer'。 VisualStudio Bootstrapper:02/12/2020 2:50:48 PM:WebClient 尝试访问失败https://aka.ms/vs/16/release/installer通过 23.13.51.44 VisualStudio Bootstrapper:02/12/2020 2:50:48 PM:使用 WebClient 引擎下载失败。 System.Net.WebException: 操作超时”
我尝试从 Google Chrome 访问 URL“https://aka.ms/vs/16/release/installer”,文件已下载。
但是,当我尝试通过 Internet Explorer 11 浏览相同的 URL 时,我意识到存在指向“https://download.visualstudio.microsoft.com/download/pr/9d2147aa-7b01-4336-b665”的重定向-8fe07735e5ee/D6E0778F57A0F56302E6AD5B55B0423E148CCE2244A5D6047C3256E841052A23/vs_installer.opc'
重定向的 URL 可以通过 Google Chrome 访问(它下载 Visual Studio 安装程序),但我只是在 IE 中进入加载屏幕,我无法打开开发人员工具来检查问题所在。
IE Screen
我假设 Web Installer 正在遵循 IE 的进程,因此无法下载必要的文件。
我如何从这里继续前进?
最佳答案
我遇到了同样的问题。我通过恢复 windows brandmauer 的默认设置并打开 windows defender 解决了这个问题。
https://stackoverflow.com/questions/65106823/