Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for VS2019 msbuild #11

Merged
merged 1 commit into from
May 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion frontend.bat
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,11 @@ for /F "tokens=1,2 delims=." %%a in ("!vsver!") do (
rem https://github.com/3F/hMSBuild/issues/3
set vsver=%%~a.0
)
REM VS2019 changed path
if !vsver! geq 16 set vsver=Current

if not exist "!vspath!\MSBuild\!vsver!\Bin" set "%3=" & exit /B %ERROR_PATH_NOT_FOUND%

set _msbp=!vspath!\MSBuild\!vsver!\Bin

call :dbgprint "found path via vswhere: " _msbp
Expand Down Expand Up @@ -606,7 +611,7 @@ if not defined notamd64 (

:: 7z & amd64\msbuild - https://github.com/3F/vsSolutionBuildEvent/issues/38
set _noamd=!_msbp:Framework64=Framework!
set _noamd=!_noamd:amd64=!
set _noamd=!_noamd:\amd64=!

if exist "!_noamd!" (
call :dbgprint "Return 32bit version because of -notamd64 key."
Expand Down