|
4 | 4 | # 17.4.3 BuildTools
|
5 | 5 | $VS_DOWNLOAD_LINK = "https://download.visualstudio.microsoft.com/download/pr/8f480125-28b8-4a2c-847c-c2b02a8cdd1b/64be21d4ada005d7d07896ed0b004c322409bd04d6e8eba4c03c9fa39c928e7a/vs_BuildTools.exe"
|
6 | 6 | $COLLECT_DOWNLOAD_LINK = "https://aka.ms/vscollect.exe"
|
7 |
| -$VS_INSTALL_ARGS = @("--nocache","--quiet","--wait", "--add Microsoft.VisualStudio.Workload.VCTools", |
8 |
| - "--add Microsoft.Component.MSBuild", |
9 |
| - "--add Microsoft.VisualStudio.Component.Roslyn.Compiler", |
10 |
| - "--add Microsoft.VisualStudio.Component.TextTemplating", |
11 |
| - "--add Microsoft.VisualStudio.Component.VC.CoreIde", |
12 |
| - "--add Microsoft.VisualStudio.Component.VC.Redist.14.Latest", |
13 |
| - "--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", |
14 |
| - "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64", |
15 |
| - "--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81") |
| 7 | +$VS_INSTALL_ARGS = @( |
| 8 | + "--nocache", |
| 9 | + "--quiet", |
| 10 | + "--wait", |
| 11 | + "--add Microsoft.VisualStudio.Workload.VCTools", |
| 12 | + "--add Microsoft.Component.MSBuild", |
| 13 | + "--add Microsoft.VisualStudio.Component.Roslyn.Compiler", |
| 14 | + "--add Microsoft.VisualStudio.Component.TextTemplating", |
| 15 | + "--add Microsoft.VisualStudio.Component.VC.CoreIde", |
| 16 | + "--add Microsoft.VisualStudio.Component.VC.Redist.14.Latest", |
| 17 | + "--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", |
| 18 | + "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64", |
| 19 | + "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64", |
| 20 | + "--add Microsoft.VisualStudio.Component.Windows10SDK.20348" |
| 21 | +) |
16 | 22 |
|
17 | 23 | curl.exe --retry 3 -kL $VS_DOWNLOAD_LINK --output vs_installer.exe
|
18 | 24 | if ($LASTEXITCODE -ne 0) {
|
|
0 commit comments