Skip to content

Commit 3387078

Browse files
committed
fix: pass "--ignore-dependencies to visualcpp-build-tools
1 parent f446a06 commit 3387078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msvc/msvc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function setupMSVC(
2222
try {
2323
if (version === "2015") {
2424
toolset = "14.0"
25-
await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", [])
25+
await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", ["--ignore-dependencies"])
2626
VCTargetsPath = "C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"
2727
} else if (version === "2017") {
2828
toolset = "14.16"

0 commit comments

Comments
 (0)