Visual Studio 2019安装问题

4

我正在尝试在Windows 10上安装Visual Studio 2019社区版。

我已从官方网站下载了网络安装程序。一旦我点击安装程序,我就会卡在这个屏幕上,上面写着“正在下载:0B of 0B”

卡在这个屏幕上

我检查了安装日志,显示以下信息。

"VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: WebClient在 'https://aka.ms/vs/16/release/installer' 失败,显示 'The operation has timed out' - 'https://aka.ms/vs/16/release/installer'。 VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: WebClient尝试通过23.13.51.44访问https://aka.ms/vs/16/release/installer失败 VisualStudio Bootstrapper:02/12/2020 2:50:48 PM: 使用WebClient引擎下载失败。System.Net.WebException: The operation has timed out"

我尝试使用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”。
通过Google Chrome可以访问重定向的URL(它会下载Visual Studio Installer),但是在IE中我只能看到加载屏幕,无法打开开发人员工具以检查问题所在。 IE Screen 我假设Web Installer正在遵循IE的过程,因此无法下载必要的文件。
我该怎么办?
2个回答

0

我曾经遇到过同样的问题。我通过恢复Windows防火墙的默认设置并打开Windows Defender来解决了它。


-1
根据您发布的日志,
WebClient 尝试通过 23.13.51.44 访问 https://aka.ms/vs/16/release/installer 失败 使用 WebClient 引擎下载失败。System.Net.WebException:操作已超时"
请检查是否启用了第三方防病毒软件或企业组策略,可能会阻止下载。暂时禁用 Windows Defender 和/或 Windows Defender 受控文件夹访问。
如果您在防火墙或代理服务器后安装 Visual Studio,则可以添加域 URL 到“允许列表”,以便在安装和使用 Visual Studio 时获得最佳体验。 有关更多详细信息,请参阅此文档:https://learn.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2019#install-visual-studio

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接