Dot net core 1 Tooling Preview offline installer

2020-03-26 06:23发布

Is it possible to have an offline installer for DotNetCore.1.0.1-VS2015Tools.Preview2 ?

1条回答
劫难
2楼-- · 2020-03-26 07:26

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. enter image description here

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.

查看更多
登录 后发表回答