问题描述
是否可以为
我知道 / layout
开关可用于大多数 Microsoft
联机安装程序,但有时会下载许多您可能不需要的软件包。因此,当您只需要一次安装时,建议不要使用它。
Visual Studio 安装程序下载的大小约为 25 GB 使用此开关时文件数量最多,但是在我的情况下,在线安装程序仅使用了大约 4 GB 数据。
Is it possible to have an offline installer for DotNetCore.1.0.1-VS2015Tools.Preview2 ?
Thanks to @Lex Li for the answer.
Download the online installer from here then:
- Creat a shortcut in the same folder.
- Add the
/layout
switch (with a space) - Run the shortcut. It will download all dependencies in package folder.
- After download completed, delete the shortcut and run the original installer.
As I know the /layout
switch works with most Microsoft
online installers, but sometimes downloads lots of packages that may you don't need. So it is not recomended when you need only one time installation.
The Visual Studio installer downloaded about 25 GB of files when I used this switch, but online installer only used about 4 GB of data in my situation.
这篇关于Dot Net Core 1 Tooling Preview离线安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!