Closed rolfbjarne closed 2 years ago
Interesting, this is because in this case it logs a TaskParameterEventArgs with kind SkippedTargetOutputs and null ItemName and Items list:
Probably need to make a change to MSBuild to not log the event args in the first place.
For now I'll just add a null check in the viewer.
Found a repro:
<Project>
<ItemGroup>
<_CodesignItems Include="foo" />
</ItemGroup>
<Target Name="Build"
Inputs="@(_CodesignItems)"
Outputs="@(_CodesignItems -> '%(CodesignStampFile)')">
</Target>
</Project>
I suspect you don't need me to republish the Windows viewer since you're using the Avalonia and the Live one. I'll include this fix with the next batch of fixes and updates.
@rolfbjarne the CodesignStampFile
metadata is missing on this item, not sure if intentional:
@KirillOsenkov thanks! I was eventually able to figure out that that was the problem, but it's certainly easier when the viewer works :)
Test case:
log-Build-20220202_162411.binlog.zip
Opening on macOS results in (latest Avalonia version as of today):
Online results: