mirror of https://github.com/aminya/setup-cpp
fix: visualstudio2017buildtools
This commit is contained in:
parent
b302dc3e25
commit
3702106240
|
@ -39,8 +39,11 @@ export async function setupMSVC(
|
|||
exportVariable("VCTargetsPath", VCTargetsPath)
|
||||
}
|
||||
} else if (version === "2017") {
|
||||
toolset = "15.0.26228.20170424"
|
||||
await setupChocoPack("visualcpp-build-tools", toolset, ["--ignore-dependencies", "--params", "'/IncludeRequired'"])
|
||||
toolset = "15.9.38.0"
|
||||
await setupChocoPack("visualstudio2017buildtools", toolset, [
|
||||
"--package-parameters",
|
||||
"add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive",
|
||||
])
|
||||
} else if (version === "2019") {
|
||||
toolset = "16.11.2.0"
|
||||
await setupChocoPack("visualstudio2019buildtools", toolset, [
|
||||
|
|
Loading…
Reference in New Issue