Skip to content

Commit

Permalink
More review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardol committed Apr 26, 2019
1 parent ac8cc90 commit 2714c39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend.bat
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ set vswfilter=!vswPriority!

:_vswAttempt
call :dbgprint "attempts with filter: " vswfilter vswPreRel
call :dbgprint " using: " vswbin

set "vspath=" & set "vsver="
for /F "usebackq tokens=1* delims=: " %%a in (`"!vswbin!" -nologo !vswPreRel! -requires !vswfilter! Microsoft.Component.MSBuild`) do (
Expand Down Expand Up @@ -527,7 +526,7 @@ for /F "tokens=1,2 delims=." %%a in ("!vsver!") do (
REM VS2019 changes the path
if !vsver! geq 16 set vsver=Current

if not exist "!vspath!\MSBuild\!vsver!\Bin" set "%3=" & exit /B 0
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

0 comments on commit 2714c39

Please sign in to comment.