问题描述
大家好,
我正在尝试安装VS2017 Professional。
I am trying to install VS2017 Professional.
我最初运行以下命令来创建我的布局; vs_professional.exe --layout c:\ VSS2017Layout --lang en-US
I initially ran the following command to create my layout; vs_professional.exe --layout c:\VS2017Layout --lang en-US
预计下载大约40GB。
This as expected downloaded at about 40GB.
从这里我现在不知道该怎么做,我知道我可以运行一些命令,其中一个是;
From here I am now not sure what to do, I know there are a number of commands I can run, one of which was;
E:\vs2017offline\vs_professional.exe --all --quiet --wait --norestart(E是我的文件现在所在的驱动器)
E:\vs2017offline\vs_professional.exe --all --quiet --wait --norestart (E being the drive my files are now on)
但是因为我添加了 - 所有它安装完全与VS做的一切,大约190GB。如果我删除--all它似乎只安装约1GB的价值,我认为必须是基本安装。
But because I added in the --all it installed absolutely everything to do with VS and was about 190GB. If I remove the --all it only seems to install about 1GB worth which I think must be the basic install.
我只想安装我在最初的40GB下载中下载的所有组件。我确信我做的事情很愚蠢,并希望有人帮忙解决这个问题。
I just want it to install all of the compontents I downloaded in my initial 40GB download. I am sure I am doing something stupid and would appreciate someone help with this.
谢谢
Fraser
推荐答案
嗨Fraserb82,
欢迎来到MSDN论坛。
我们知道,完整的Visual Studio 2017版面需要至少35 GB的磁盘空间,并且可能需要一些时间下载。
- 下载所有工作负载和组件(一个包含所有功能的完整本地布局) for
只有一种语言,运行:
- To download all workloads and components (a complete local layout with all features) foronly one language, run:
vs_professional.exe --layout C:\vs2017offline --lang en-US
需要大约40GB。
- 使用"--all"命令行下载产品的所有工作负载和组件:
E:\vs2017offline\vs_professional.exe --all --quiet --wait -norestart
所以你可以删除"--all"然后在命令中添加"-layout"以检查它需要多少空间。
E:\vs2017offline\vs_professional.exe --layout --quiet --wait -norestart
请查看
创建本地安装缓存和布局选项和
自定义网络布局以便进一步了解。
Please have a look with create a local install cache and layout options andcustomizing the network layout for a learn further.
期待您的回复。
最好的问候
可能
这篇关于Visual Studio网络安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!