diff --git a/src/dev.sh b/src/dev.sh index 6a339753d03..0b1ffbd7375 100755 --- a/src/dev.sh +++ b/src/dev.sh @@ -345,10 +345,15 @@ bash ./Misc/externals.sh $RUNTIME_ID "Pre-Cache" || checkRC "externals.sh Pre-Ca if [[ "$CURRENT_PLATFORM" == 'windows' ]]; then vswhere=$(find "$DOWNLOAD_DIR" -name vswhere.exe | head -1) vs_location=$("$vswhere" -prerelease -latest -property installationPath) + + $vswhere + msbuild_location="$vs_location""\MSBuild\15.0\Bin\msbuild.exe" if [[ ! -e "${msbuild_location}" ]]; then + echo $vs_location msbuild_location="$vs_location""\MSBuild\Current\Bin\msbuild.exe" + echo $msbuild_location if [[ ! -e "${msbuild_location}" ]]; then failed "Can not find msbuild location, failing build"