KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

Add support for improved TaskParameterEventArgs #780

Closed ladipro closed 1 month ago

ladipro commented 1 month ago

https://github.com/dotnet/msbuild/pull/10130 is making MSBuild log TaskParameterEventArgs for all task parameters, including all output parameters. This PR adds support for this format change to the viewer.

Changes

Testing

image

This is assumed to be an acceptable break for users who haven't updated to the new version.

image

This is just a quick proof-of-concept as I'm not sure what the best way of presenting this data is or if there's appetite for enriching the UI at all. We could certainly not show the parameter name anywhere for now.

KirillOsenkov commented 1 month ago

Published https://github.com/KirillOsenkov/MSBuildStructuredLog/releases/tag/v2.2.243 - please try it out to make sure it all works as expected. Thanks!

KirillOsenkov commented 1 month ago

https://www.nuget.org/packages/binlogtool/1.0.15 https://www.nuget.org/packages/MSBuild.StructuredLogger/2.2.243

ladipro commented 1 month ago

@KirillOsenkov I have tested it on version 2.2.248 and all seems to be good. Please confirm that it's OK to merge the MSBuild PR now.

KirillOsenkov commented 1 month ago

yes, go ahead