Csc task incorrectly forwarding info diagnostics to msbuild logger #30637
Labels
Area-Compilers
Need More Info
The issue needs more information to proceed.
Resolution-Answered
The question has been answered
Version Used:
Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f235)
Copyright (C) Microsoft Corporation. All rights reserved.
Steps to Reproduce:
ILogger
implementation that handles theIEventSource.MessageRaised
eventmsbuild Project1.csproj /logger:ILogger.dll
Expected Behavior:
The ILogger gets a structured BuildMessageEventArgs, containing the parsed:
Actual Behavior:
The BuildMessageEventArgs.Message contains the full line in the cannonical msbuild format.
The issue here is that
Log.LogMessageFromText
andCannonicalError
only handle errors and warnings. I'm raising this issue here, since MSBuild has no notion ofDiagnosticSeverity.Info
.The text was updated successfully, but these errors were encountered: