-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the bug
The .NET 9 SDK appears to default to a "terminal logger". For normal builds I can see why some people would prefer this. However, it's preventing my custom target's output messages from being displayed at all.
To Reproduce
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<Target Name="doTest">
<Message
Text="Test"
Importance="High" />
</Target>
</Project>then run dotnet msbuild -t:doTest
Exceptions (if any)
No exception, but my Test message isn't displayed. I have to run dotnet msbuild -t:doTest -clp:off to see the message.
Further technical details
dotnet 9 SDK
leppie, ByronMayne, eqpoqpe, palhal, nkolev92 and 7 more