Preview离线安装程序

Preview离线安装程序

本文介绍了Dot Net Core 1 Tooling Preview离线安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为

我知道 / 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:

  1. Creat a shortcut in the same folder.
  2. Add the /layout switch (with a space)
  3. Run the shortcut. It will download all dependencies in package folder.
  4. 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离线安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 00:09