Info
| Version: | 10.0.0-rc.2.25502.107 | 
| Author(s): | Microsoft | 
| Last Update: | Tuesday, October 14, 2025 | 
| .NET Fiddle: | Online Example | 
| Project Url: | https://dot.net/ | 
| NuGet Url: | https://www.nuget.org/packages/System.Diagnostics.DiagnosticSource | 
Install
Install-Package System.Diagnostics.DiagnosticSource
                        dotnet add package System.Diagnostics.DiagnosticSource
                        paket add System.Diagnostics.DiagnosticSource
                        
                                System.Diagnostics.DiagnosticSource Download (Unzip the "nupkg" after downloading)
                            
                        Dependencies
                                         .NETFramework 4.5 
                                        
                    - System.Memory(>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Collections(>= 4.3.0)
- System.Collections.Concurrent(>= 4.3.0)
- System.Diagnostics.Tracing(>= 4.3.0)
- System.Reflection(>= 4.3.0)
- System.Resources.ResourceManager(>= 4.3.0)
- System.Runtime(>= 4.3.0)
- System.Threading(>= 4.3.0)
- System.AppContext(>= 4.3.0)
- System.Collections(>= 4.3.0)
- System.Collections.Concurrent(>= 4.3.0)
- System.Diagnostics.Debug(>= 4.3.0)
- System.Diagnostics.Tracing(>= 4.3.0)
- System.Memory(>= 4.5.4)
- System.Reflection(>= 4.3.0)
- System.Resources.ResourceManager(>= 4.3.0)
- System.Runtime(>= 4.3.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.Extensions(>= 4.3.0)
- System.Runtime.InteropServices(>= 4.3.0)
- System.Threading(>= 4.3.0)
- System.Memory(>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Memory(>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- No dependencies. 
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- No dependencies. 
- No dependencies. 
- System.Memory(>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- No dependencies. 
- No dependencies. 
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe(>= 5.0.0)
 
                
framework) from code that consumes it (e.g. tools)
Commonly Used Types:
System.Diagnostics.DiagnosticListener
System.Diagnostics.DiagnosticSource.