Skip to content

Commit

Permalink
build: work around bug in MSBuild v16.10.0
Browse files Browse the repository at this point in the history
This allows to build Node.js at the (temporary) cost of longer build
times.

Refs: nodejs#38872
Refs: https://github.com/dotnet/msbuild/releases/tag/v16.10.0
Refs: dotnet/msbuild#6465
Refs: dotnet/msbuild#6373
  • Loading branch information
targos committed May 31, 2021
1 parent 16ae378 commit 71b6205
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vcbuild.bat
Expand Up @@ -334,6 +334,8 @@ 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"
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

0 comments on commit 71b6205

Please sign in to comment.