Skip to content

Commit

Permalink
Revert "fix: use --add for adding the workloads"
Browse files Browse the repository at this point in the history
This reverts commit c8ff9f0.
  • Loading branch information
aminya committed Sep 16, 2021
1 parent c8ff9f0 commit ed08deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msvc/msvc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ export async function setupMSVC(
toolset = "15.9.38.0"
await setupChocoPack("visualstudio2017buildtools", toolset, [
"--package-parameters",
"--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
"add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
])
VCTargetsPath = "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\Microsoft\\VC\\v150"
} else if (version === "2019") {
toolset = "16.11.2.0"
await setupChocoPack("visualstudio2019buildtools", toolset, [
"--package-parameters",
"--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
"add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
])
VCTargetsPath = "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\Microsoft\\VC\\v160"
}
Expand Down

0 comments on commit ed08deb

Please sign in to comment.