commit:     3c00cc939e174c24bb62583b1441bcdf99cf8195
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 21:40:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 01:44:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c00cc93

eclass/dotnet-pkg-base: disable MSBUILDTERMINALLOGGER from .NET 9.0

Disable the fancy terminal logger introduced in .NET 9.0.
If enabled, it messes up with the Portage log file output.

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 eclass/dotnet-pkg-base.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass
index 8ec21c9a276c..d9abff3859f6 100644
--- a/eclass/dotnet-pkg-base.eclass
+++ b/eclass/dotnet-pkg-base.eclass
@@ -104,6 +104,9 @@ export POWERSHELL_UPDATECHECK=0
 # Speeds up restore. Having this turned on is redundant with Portage manifests.
 # See also: https://github.com/NuGet/Home/issues/13062
 export DOTNET_NUGET_SIGNATURE_VERIFICATION=false
+# Disable the fancy terminal logger introduced in .NET 9.0.
+# It messes up the Portage log file output.
+export MSBUILDTERMINALLOGGER=off
 # Overwrite selected MSBuild properties ("-p:XYZ").
 export UseSharedCompilation=false
 

Reply via email to