提交 31d4ca51 编写于 作者: S Santiago Fernandez Madero 提交者: Viktor Hofer

Enable warn as error in corelib (#174)

Enable warn as error in corelib as the workaround was set for VS2017 which we no longer use since we moved to VS2019 and that's the recommended toolset.
上级 d5c41a7f
......@@ -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^
'!__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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册