load

--layout x:2017 --add Microsoft.VisualStudio.Component.Static.Analysis.Tools --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.Net.Component.3.5.DeveloperTools --add Microsoft.VisualStudio.Component.Unity --add Microsoft.Component.HelpViewer --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeRecommended --includeOptional --lang en-US

x:yvs_Community.exe --layout D:softvs20xx  --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Office --includeRecommended --includeOptional --lang en-US

https://docs.microsoft.com/en-us/visualstudio/install/workload-and-component-ids

原文地址:https://www.cnblogs.com/Searchor/p/7580958.html