创建 Visual Studio 2017 RTM 的离线安装

Create an offline installation of Visual Studio 2017 RTM

随着 visual studio 2017 in March 7, 2017 (build 26628.04), I didn't find ISO for download but i reached the page Create an offline installer for Visual Studio 2017

的发布

我的问题:

Q1:如果中断或网络断开,下载是否可以继续,或者从头开始?

Q2:下载程序是增量下载组件吗? 我的意思是如果我通过命令下载 "ManagedDesktop components":

 vs_community.exe --layout e:\vs2017offline --lang en-US --add  Microsoft.VisualStudio.Workload.ManagedDesktop

然后后者下载了 NetCoreTools:

  vs_community.exe --layout e:\vs2017offline --lang en-US --add  Microsoft.VisualStudio.Workload.NetCoreTools

下载程序可以避免重新下载以前的组件吗?

从您linked的页面:

If you want to update your offline installation, run the --layout command again. Make sure to point to the same folder that you used before; this way, only those components that have been updated since you last ran --layout will be downloaded.

我的解释是只会下载新组件。


该页面的用户评论支持我的解释,并且似乎也表明它支持恢复。

You can cancel the download at any time. There is "Resume" capability, but you just isse the command again and it does not download any modules that already unless it has been updated in the meanwhile. This is how you update the offline tiles: just issue the command again. So, by using the --add command you can download only a part of the VS2017 features that you want, and defer some of those that may be more exotic for your environment such as mobile or android. The novel feature of this download method is that it can be incremental.