Skip to content
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
4 changes: 1 addition & 3 deletions src/coreclr/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,8 @@ if %__BuildCoreLib% EQU 1 (
exit /b !errorlevel!
)

REM Disable warnAsError to work around VS bug (948084) where ucrt lib path is not set properly, resulting in CS1668
powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -Command "%__RepoRootDir%\eng\common\msbuild.ps1" %__ArcadeScriptArgs%^
%__ProjectDir%\src\build.proj -warnAsError:0^
/nodeReuse:false /p:PortableBuild=true /maxcpucount^
%__ProjectDir%\src\build.proj /nodeReuse:false /p:PortableBuild=true /maxcpucount^

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you all disable node reuse here? There are reasons for this but not sure they would apply here. Disabling this will reduce build performance though.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume because it was already disabled.

'!__MsbuildLog!' '!__MsbuildWrn!' '!__MsbuildErr!' %__CommonMSBuildArgs% !__ExtraBuildArgs! %__UnprocessedBuildArgs%
if not !errorlevel! == 0 (
echo %__ErrMsgPrefix%%__MsgPrefix%Error: Managed Product assemblies build failed. Refer to the build log files for details.
Expand Down