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 task assembly location #771

Closed MichalPavlik closed 2 months ago

MichalPavlik commented 2 months ago

Binlog will have a new value for task. It identifies assembly where the task is implemented.

I can do it after PR merge in MSBuild: https://github.com/dotnet/msbuild/pull/9948

Any ideas how/where should be visualize the new field?

KirillOsenkov commented 2 months ago

We'll need to do this without incrementing the version of MSBuild assemblies we reference.

We usually create our own TaskStartedEventArgs2, add the new property, and use that throughout.

At some point in the future, we update to the latest MSBuild and delete our forked copy of TaskStartedEventArgs2.

Let me know if you need any help here. Thanks!

KirillOsenkov commented 2 months ago

When you have a PR ready, you can send me a binlog of version 20 privately, so I can test it as well.