Last active
March 28, 2018 12:58
-
-
Save lennybacon/ecad33245908b74cebbdab3f021cfa9f to your computer and use it in GitHub Desktop.
Add components to visual studio 2017 community installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start-Process ` | |
-FilePath "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" ` | |
-Wait ` | |
-ArgumentList @( ` | |
"modify", | |
"--installPath `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community`"", | |
"--add Microsoft.VisualStudio.Component.VC.CoreIde", | |
"--add Microsoft.VisualStudio.Component.Windows10SDK", | |
"--add Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop", | |
"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64", | |
"--add Microsoft.VisualStudio.Component.TextTemplating", | |
"--add Microsoft.Component.NetFX.Core.Runtime", | |
"--add Microsoft.Net.Core.Component.SDK", | |
"--add Microsoft.NetCore.ComponentGroup.DevelopmentTools", | |
"--add Microsoft.VisualStudio.ComponentGroup.Web", | |
"--add Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions", | |
"--add Microsoft.VisualStudio.Component.Web", | |
"--add Microsoft.VisualStudio.Component.AspNet45", | |
"--add Microsoft.Net.Component.4.TargetingPack", | |
"--add Microsoft.Net.Component.4.5.1.TargetingPack", | |
"--add Microsoft.Net.Component.4.5.2.TargetingPack", | |
"--add Microsoft.Net.Component.4.6.TargetingPack", | |
"--add Microsoft.Net.Component.4.6.1.TargetingPack", | |
"--add Microsoft.Net.Component.4.6.1.SDK", | |
"--add Microsoft.Net.Component.4.6.2.TargetingPack", | |
"--add Microsoft.Net.Component.4.6.2.SDK", | |
"--add Microsoft.Net.Component.4.7.TargetingPack", | |
"--add Microsoft.Net.Component.4.7.SDK", | |
"--norestart", | |
"--quiet" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment