We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74ff05 commit fe8bd4fCopy full SHA for fe8bd4f
1 file changed
frontend.bat
@@ -524,6 +524,11 @@ for /F "tokens=1,2 delims=." %%a in ("!vsver!") do (
524
rem https://github.com/3F/hMSBuild/issues/3
525
set vsver=%%~a.0
526
)
527
+REM VS2019 changed path
528
+if !vsver! geq 16 set vsver=Current
529
+
530
+if not exist "!vspath!\MSBuild\!vsver!\Bin" set "%3=" & exit /B %ERROR_PATH_NOT_FOUND%
531
532
set _msbp=!vspath!\MSBuild\!vsver!\Bin
533
534
call :dbgprint "found path via vswhere: " _msbp
@@ -606,7 +611,7 @@ if not defined notamd64 (
606
611
607
612
:: 7z & amd64\msbuild - https://github.com/3F/vsSolutionBuildEvent/issues/38
608
613
set _noamd=!_msbp:Framework64=Framework!
609
-set _noamd=!_noamd:amd64=!
614
+set _noamd=!_noamd:\amd64=!
610
615
616
if exist "!_noamd!" (
617
call :dbgprint "Return 32bit version because of -notamd64 key."
0 commit comments