From 33870789f0295acab998a9fab4f44bcc51d22cce Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 6 Dec 2021 05:00:54 -0600 Subject: [PATCH] fix: pass "--ignore-dependencies to visualcpp-build-tools --- src/msvc/msvc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msvc/msvc.ts b/src/msvc/msvc.ts index 0ec975ae..e0fbd921 100644 --- a/src/msvc/msvc.ts +++ b/src/msvc/msvc.ts @@ -22,7 +22,7 @@ export async function setupMSVC( try { if (version === "2015") { toolset = "14.0" - await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", []) + await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", ["--ignore-dependencies"]) VCTargetsPath = "C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140" } else if (version === "2017") { toolset = "14.16"