diff --git a/msvc/vs19/msbuild.bat b/msvc/vs19/msbuild.bat index feb28325..20378c26 100644 --- a/msvc/vs19/msbuild.bat +++ b/msvc/vs19/msbuild.bat @@ -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% )