Skip to main content
System.Diagnostics.DiagnosticSource package icon

System.Diagnostics.DiagnosticSource

Provides Classes that allow you to decouple code logging rich (unserializable) diagnostics/telemetry (e.g. framework) from code that consumes it (e.g. tools) Commonly Used Types: System.Diagnostics.DiagnosticListener System.Diagnostics.DiagnosticSource

Total Downloads
10.1B
10,090,565,578
Published
Mar 10, 2026
Latest stable version

Install

.NET CLI
dotnet add package System.Diagnostics.DiagnosticSource --version 9.0.14
Package Manager Console
Install-Package System.Diagnostics.DiagnosticSource -Version 9.0.14
PackageReference
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.14" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 .NETStandard2.0

Dependencies

System.Memory
.NETFramework4.6.2
[4.5.5, )
[6.0.0, )
System.Memory
.NETStandard2.0
[4.5.5, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.