From 1d06c3fc15bfe71ca735e56501137d7656d36e6b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 19 Mar 2021 15:21:04 -0700 Subject: [PATCH] Revert vswhere command --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5e7593c28..6064cdb7e 100755 --- a/build.sh +++ b/build.sh @@ -88,7 +88,7 @@ CleanFolder() BuildWithMSBuild() { - msBuildPath=`$vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\\\\\*\*\\\\Bin\\\\MSBuild.exe` + msBuildPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -find MSBuild\\\\\*\*\\\\Bin\\\\MSBuild.exe` msBuildPath=${msBuildPath/C:\\/\/c\/} msBuildPath=${msBuildPath//\\/\/} msBuildDir=$(dirname "$msBuildPath")