a further attempt to get continuous integration to work

This commit is contained in:
Brian Gladman 2020-04-08 14:59:06 +01:00
parent 8cf5a53bf8
commit f3f92a9281

View File

@ -19,12 +19,14 @@ for /f "usebackq tokens=*" %%i in (`!vsw_exe! -latest -products * -requires Micr
)
if %vs_version% EQU "2017" (
set msb_dir=!InstallDir!\MSBuild\15.0\Bin
set msb_dir="!InstallDir!\MSBuild\15.0\Bin"
) else (
set msb_dir=!InstallDir!\MSBuild\Current\Bin
set msb_dir="!InstallDir!\MSBuild\Current\Bin"
)
set msb_dir=%msb_dir:"=%
set msb_exe="%msb_dir%\MSBuild.exe"
echo %msb_exe%
echo "%msb_exe%"
if not exist %msb_exe% (
echo "Visual Studio %vs_version% is not supported" & exit /b %errorlevel%
)