dotnet / BenchmarkDotNet

Powerful .NET library for benchmarking
https://benchmarkdotnet.org
MIT License
10.47k stars 962 forks source link

Update Microsoft.Diagnostics.Tracing.TraceEvent #2534

Closed sbomer closed 7 months ago

sbomer commented 7 months ago

Version 3.0.2 has logic which adds a netstandard1.6 dll to the output. The package contains both netstandard1.6 and netstandard2.0 versions of this dll.

This runs into what I believe is an SDK bug and results in neither dll being passed as input to the trimmer when publishing with <PublishTrimmed>true</PublishTrimmed>.

Recent versions of this package don't have the same problem since they include the netstandard2.0 version: https://github.com/microsoft/perfview/blob/c1c726690e138302c79fac1c1d20bf9d65426ce6/src/TraceEvent/Microsoft.Diagnostics.Tracing.TraceEvent.props#L46-L50.