Visual Studio 2017 的web installer本身就是按需要安装的,勾选你需要的模块,点击安装。
如果做成offline installer,参考以下命令行
vs_community.exe --layout e:\vs2017offline --lang en-US --add Microsoft.VisualStudio.Workload.Azure Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Workload.NetWeb
其中-add的参数参考这里
https://docs.microsoft.com/zh-cn/visualstudio/install/workload-and-component-ids
比如企业版的组件列表
https://docs.microsoft.com/zh-cn/visualstudio/install/workload-component-id-vs-enterprise
专注于.NET ERP/CRM开发框架,C/S架构,SQL Server + ORM(LLBL Gen Pro) + Infragistics WinForms