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

build: apply workaround for msbuild 16.10.0 only #38930

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions vcbuild.bat
Expand Up @@ -334,8 +334,11 @@ if "%target%"=="Build" (
if defined cctest set target="Build"
)
if "%target%"=="node" if exist "%config%\cctest.exe" del "%config%\cctest.exe"
@rem TODO(targos): Remove next line after MSBuild 16.10.1 is released.
if "%target%"=="node" set target="Build"
@rem Workaround bug in MSBuild 16.10.0. (https://github.com/dotnet/msbuild/pull/6465)
for /F %%V in ('msbuild -version -nologo') do set msbuild_ver=%%V
if "%msbuild_ver:~0,8%"=="16.10.0." (
richardlau marked this conversation as resolved.
Show resolved Hide resolved
if "%target%"=="node" set target="Build"
)
if defined msbuild_args set "extra_msbuild_args=%extra_msbuild_args% %msbuild_args%"
@rem Setup env variables to use multiprocessor build
set UseMultiToolTask=True
Expand Down