Closed rokonec closed 10 months ago
Attached is binary log for testing if needed. binlog.zip
this is nice! I think if extended data is available, we should manufacture a message as a child node of the extended event, and put the full text in there. Also if extended metadata is present, add metadata child nodes for each metadata
See Construction.AddProperties
for an example, but maybe use Metadata instead of Property
Implementing: https://github.com/dotnet/msbuild/issues/9091
Context
MSBuild introduced new concept of Event args Extended data which are supposed to address need to extend events. One of its most appealing use cases is for passing extended compiler error and warning structured information into msbuild logging infrastructure. Having such info in binlog and viewer might be of use.
Changes Made