From b2e746639e2606aa132064e6b36ac01626283baf Mon Sep 17 00:00:00 2001 From: SingleAccretion Date: Tue, 2 Sep 2025 21:07:23 +0300 Subject: [PATCH 1/2] Disable MSBuild console output wrapping This changes the output from: ``` Some/long/path/that /gets/broken/up ``` To: ``` Some/long/path/that/gets/broken/up ``` Leaving wrapping up to the terminal and making C&P much easier. --- Directory.Build.rsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Directory.Build.rsp b/Directory.Build.rsp index 535f93da1e28f8..a37b62d6cb4869 100644 --- a/Directory.Build.rsp +++ b/Directory.Build.rsp @@ -1,2 +1,4 @@ # disable terminal logger for now: https://github.com/dotnet/runtime/issues/97211 -tl:false +# disable line wrapping so that C&P from the console works well +-clp:ForceNoAlign From 28deb6d165ae4cb558f094fff5a66a00c578c6bf Mon Sep 17 00:00:00 2001 From: SingleAccretion Date: Wed, 3 Sep 2025 15:43:10 +0300 Subject: [PATCH 2/2] Remove __ConsoleLoggingParameters --- src/coreclr/build-runtime.cmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/coreclr/build-runtime.cmd b/src/coreclr/build-runtime.cmd index 9562b80f5e95c4..8b8d5adcb9d938 100644 --- a/src/coreclr/build-runtime.cmd +++ b/src/coreclr/build-runtime.cmd @@ -55,7 +55,6 @@ set __BuildTypeRelease=0 set __PgoInstrument=0 set __PgoOptimize=0 set __EnforcePgo=0 -set __ConsoleLoggingParameters=/clp:ForceNoAlign;Summary REM __PassThroughArgs is a set of things that will be passed through to nested calls to build.cmd REM when using "all". @@ -440,7 +439,7 @@ if %__BuildNative% EQU 1 ( set "__MsbuildWrn=/flp1:WarningsOnly;LogFile=!__BuildWrn!" set "__MsbuildErr=/flp2:ErrorsOnly;LogFile=!__BuildErr!" set "__MsbuildBinLog=/bl:!__BinLog!" - set "__Logging=!__MsbuildLog! !__MsbuildWrn! !__MsbuildErr! !__MsbuildBinLog! !__ConsoleLoggingParameters!" + set "__Logging=!__MsbuildLog! !__MsbuildWrn! !__MsbuildErr! !__MsbuildBinLog!" set __CmakeBuildToolArgs= if %__Ninja% EQU 1 (