The referenced Microsoft.Diagnostics.Tracing.TraceEvent package version is fairly old and newer versions have bug fixes and other feature updates.
Another motivation to update this reference is that downstream consumers of the Microsoft.Diagnostics.NETCore.Client library cannot transitively update the Microsoft.Diagnostics.Tracing.TraceEvent version. Starting with the 3.1.14 release, the Microsoft.Diagnostics.Tracing.TraceEvent assembly itself has a dependency on Microsoft.Diagnostics.NETCore.Client. Projects that prerelease versions of Microsoft.Diagnostics.NETCore.Client are blocked from updating to the latest version of Microsoft.Diagnostics.Tracing.TraceEvent because the prerelease version of Microsoft.Diagnostics.NETCore.Client is a lower version (e.g. 0.2.0-preview.24564.1) than the latest release version (e.g. 0.2.547301) despite the prerelease version having been built more recently. This causes package downgrade errors such as:
error NU1109: Detected package downgrade: Microsoft.Diagnostics.NETCore.Client from 0.2.510501 to centrally defined
0.2.0-preview.24564.1. Update the centrally managed package version to a higher version.
Allowing transitive update using prerelease versions should be fixed separately, but I wanted to highlight one of the motivations for the version update of the Microsoft.Diagnostics.Tracing.TraceEvent library.
The referenced Microsoft.Diagnostics.Tracing.TraceEvent package version is fairly old and newer versions have bug fixes and other feature updates.
Another motivation to update this reference is that downstream consumers of the Microsoft.Diagnostics.NETCore.Client library cannot transitively update the Microsoft.Diagnostics.Tracing.TraceEvent version. Starting with the 3.1.14 release, the Microsoft.Diagnostics.Tracing.TraceEvent assembly itself has a dependency on Microsoft.Diagnostics.NETCore.Client. Projects that prerelease versions of Microsoft.Diagnostics.NETCore.Client are blocked from updating to the latest version of Microsoft.Diagnostics.Tracing.TraceEvent because the prerelease version of Microsoft.Diagnostics.NETCore.Client is a lower version (e.g. 0.2.0-preview.24564.1) than the latest release version (e.g. 0.2.547301) despite the prerelease version having been built more recently. This causes package downgrade errors such as:
Allowing transitive update using prerelease versions should be fixed separately, but I wanted to highlight one of the motivations for the version update of the Microsoft.Diagnostics.Tracing.TraceEvent library.