Revert vswhere command

pull/4397/head
Mark McDowall 4 years ago
parent ec9f62285a
commit 1d06c3fc15

@ -88,7 +88,7 @@ CleanFolder()
BuildWithMSBuild() 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/C:\\/\/c\/}
msBuildPath=${msBuildPath//\\/\/} msBuildPath=${msBuildPath//\\/\/}
msBuildDir=$(dirname "$msBuildPath") msBuildDir=$(dirname "$msBuildPath")

Loading…
Cancel
Save