Revert vswhere command
This commit is contained in:
parent
ec9f62285a
commit
1d06c3fc15
2
build.sh
2
build.sh
|
@ -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…
Reference in New Issue