我开始使用布局切换下载Visual Studio以进行离线安装。当安装是19.1Go时,我关闭了控制台,下载停止了。今天我在相同的文件夹(以前的文件)重新启动它,认为它会继续。但是,从我看来,它只是覆盖了以前的文件(文件仍然从互联网上下载)。所以,我想知道是否有人有办法让它继续下去。
谢谢。
答案 0 :(得分:3)
在我的情况下打开命令提示符之后简单地重新键入命令vs_community.exe --layout c:\vs2017layout --lang en-US
注意目录应与之前的相同
它首先验证以前下载的软件包然后恢复下载这里有一些日志
Verified existing package 'Microsoft.VisualC.140.CRT.Redist.X86.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.Source.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.Desktop.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.OneCore.Desktop.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualC.140.CRT.x64.Store.Msi,version=14.0.24225'
Verified existing package 'Microsoft.VisualStudio.OfficeDeveloperTools.WIF.WindowsFeature,version=15.0.26621.2'
Total packages to download: 307
Starting 'UpdateLayout' operation
Download of 'https://download.visualstudio.microsoft.com/download/pr/10661194/7385009d7cc46622284fa28aea9a82bf/netfx45_dtp.msi' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/VC_CRT.X86.Desktop.msi' succeeded using engine 'WebClient'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/cab2.cab' succeeded using engine 'WebClient'Download of 'https://download.visualstudio.microsoft.com/download/pr/10661194/7385009d7cc46622284fa28aea9a82bf/netfx45_dtp.cab' succeeded using engine 'Bits'
UpdateLayout progress: 0.06%
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715069/2f1ac63ac0488abe845c76ad6690d8c9/VC_CRT.X86.OneCoreDesktop.msi' succeeded using engine 'Bits'
Download of 'https://download.visualstudio.microsoft.com/download/pr/10715705/f34cc4a1fd105b0276170faf7f5e0271/cab1.cab' succeeded using engine 'WebClient'
答案 1 :(得分:0)
是的,现在我们可以恢复离线安装了。最新安装程序如果目录未更改则验证文件并从那里恢复但是它们应该提供至少VS社区版的torrent链接,它更可靠,特别是如果文件是多个并且大小很大。