Revert vswhere command

This commit is contained in:
Mark McDowall 2021-03-19 15:21:04 -07:00
parent ec9f62285a
commit 1d06c3fc15
1 changed files with 1 additions and 1 deletions

View File

@ -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")