Skip to content

Commit dbaaf6a

Browse files
fix: Try alternative windows build method
1 parent 30dee57 commit dbaaf6a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ endef
5050

5151
define windows_build
5252
VSWHERE := $(shell dirname $(shell which vswhere.exe 2>/dev/null))
53-
MSBUILD_PATH := $(shell \
54-
$(VSWHERE)/vswhere.exe -products '*' -requires Microsoft.Component.MSBuild \
55-
-property installationPath -latest 2>/dev/null | tr -d '\r')
56-
53+
VSINSTALL_PATH := $(shell $(VSWHERE)/vswhere.exe -products * -requires Microsoft.Component.MSBuild -property installationPath -latest)
54+
echo $(VSINSTALL_PATH)
5755
# Fallback MSBuild paths
5856
MSBUILD_CANDIDATES := \
5957
"$(MSBUILD_PATH)/MSBuild/Current/Bin/MSBuild.exe" \

0 commit comments

Comments
 (0)