Microsoft.Diagnostics.Tracing.TraceEvent 1.0.41

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.Diagnostics.Tracing.TraceEvent --version 1.0.41
                    
NuGet\Install-Package Microsoft.Diagnostics.Tracing.TraceEvent -Version 1.0.41
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="1.0.41" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="1.0.41" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Diagnostics.Tracing.TraceEvent --version 1.0.41
                    
#r "nuget: Microsoft.Diagnostics.Tracing.TraceEvent, 1.0.41"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.Diagnostics.Tracing.TraceEvent&version=1.0.41
                    
Install Microsoft.Diagnostics.Tracing.TraceEvent as a Cake Addin
#tool nuget:?package=Microsoft.Diagnostics.Tracing.TraceEvent&version=1.0.41
                    
Install Microsoft.Diagnostics.Tracing.TraceEvent as a Cake Tool

Event Tracing for Windows (ETW) is a powerful logging mechanism built into the Windows OS and is used extensively in Windows. You can also log ETW events yourself code using the System.Diagnostics.Tracing.EventSource class.

The TraceEvent library conains the classes needed to control ETW providers (including EventSources) and parse the events they emit.   

The library includes
-- TraceEventSession which can enable ETW providers,
-- EtwTraceEventSource which lets you read the stream of ETW events, and
-- TraceLog which is is digested form of ETW events which include decoded stack traces associated with the events.
-- A Programmers Guide for using the classes above.

Also see the TraceEvent Samples NuGet package for example uses of this library.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (50)

Showing the top 5 NuGet packages that depend on Microsoft.Diagnostics.Tracing.TraceEvent:

Package Downloads
BenchmarkDotNet

Powerful .NET library for benchmarking

BenchmarkDotNet.Diagnostics.Windows

Powerful .NET library for benchmarking (Diagnostic Tools for Windows)

Steeltoe.Management.EndpointBase

Steeltoe management endpoints

Sarif.Sdk

Object model and utilities for reading and writing files in the SARIF format

EventStore.Client.Embedded

The embedded client API for Event Store. Get the open source or commercial versions of Event Store server from https://eventstore.com/

GitHub repositories (80)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Diagnostics.Tracing.TraceEvent:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
netchx/netch
A simple proxy client
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
chocolatey/choco
Chocolatey - the package manager for Windows
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
dotnet/tye
Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
Azure/DotNetty
DotNetty project – a port of netty, event-driven asynchronous network application framework
ravendb/ravendb
ACID Document Database
bombomby/optick
C++ Profiler For Games
dotnet/corert
This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
openbullet/OpenBullet2
OpenBullet reinvented
oleg-shilo/cs-script
C# scripting platform
dotnet/roslyn-analyzers
dotnet/corefxlab
This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.
matterpreter/OffensiveCSharp
Collection of Offensive C# Tooling
xoofx/ultra
An advanced profiler for .NET Applications on Windows
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
dotnet/crank
Benchmarking infrastructure for applications
Version Downloads Last updated
3.1.22 27,526 6/5/2025
3.1.21 102,204 5/2/2025
3.1.20 39,581 4/1/2025
3.1.19 81,524 1/31/2025
3.1.18 140,943 12/12/2024
3.1.17 107,713 11/9/2024
3.1.16 78,347 10/15/2024
3.1.15 61,535 8/27/2024
3.1.14 1,701 8/26/2024
3.1.13 145,392 7/16/2024
3.1.12 157,414 6/13/2024
3.1.11 13,532 6/10/2024
3.1.10 172,334 5/3/2024
3.1.9 270,347 3/7/2024
3.1.8 5,454,822 1/31/2024
3.1.7 98,979 12/5/2023
3.1.6 155,904 10/20/2023
3.1.5 86,118 8/25/2023
3.1.4 11,656 8/15/2023
3.1.3 1,152,276 5/18/2023
3.1.2 26,304 4/14/2023
3.1.1 133,598 4/5/2023
3.1.0 4,081 3/31/2023
3.0.8 127,231 2/28/2023
3.0.7 111,382 1/18/2023
3.0.6 107,231 11/16/2022
3.0.5 111,661 9/26/2022
3.0.4 127,993 8/26/2022
3.0.3 19,949 8/5/2022
3.0.2 15,878,852 7/1/2022
3.0.1 70,530 5/31/2022
3.0.0 60,845 4/20/2022
3.0.0-preview2 1,730 3/23/2022
3.0.0-preview1 1,569 3/2/2022
2.0.77 223,880 4/11/2022
2.0.76 146,534 3/2/2022
2.0.75 3,592 2/28/2022
2.0.74 1,042,906 11/9/2021
2.0.73 85,601 9/27/2021
2.0.72 5,515 9/16/2021
2.0.71 174,792 7/26/2021
2.0.70 42,150 7/7/2021
2.0.69 74,390 5/24/2021
2.0.68 29,992 4/26/2021
2.0.67 4,325 4/22/2021
2.0.66 253,011 2/22/2021
2.0.65 240,657 1/25/2021
2.0.64 1,396,160 1/5/2021
2.0.62 275,671 11/9/2020
2.0.61 8,686,428 9/21/2020
2.0.60 6,702 9/10/2020
2.0.59 27,490 9/4/2020
2.0.58 91,199 8/6/2020
2.0.57 120,052 7/2/2020
2.0.56 61,488 5/27/2020
2.0.55 859,618 4/29/2020
2.0.54 49,922 4/8/2020
2.0.52 81,858 3/23/2020
2.0.51 12,633 3/11/2020
2.0.50 19,593 3/11/2020
2.0.49 6,399,412 1/9/2020
2.0.48 200,703 11/22/2019
2.0.47 21,617 10/29/2019
2.0.46 2,682 10/24/2019
2.0.45 463,406 8/9/2019
2.0.44 471,590 7/1/2019
2.0.43 540,961 6/19/2019
2.0.42 126,660 5/7/2019
2.0.41 129,405 4/25/2019
2.0.40 82,159 4/1/2019
2.0.39 16,394 3/21/2019
2.0.38 551,261 2/27/2019
2.0.36 195,261 2/4/2019
2.0.34 266,535 1/18/2019
2.0.33 33,074 1/3/2019
2.0.32 10,928 12/13/2018
2.0.31 3,218 12/12/2018
2.0.30 437,759 11/1/2018
2.0.29 103,826 10/10/2018
2.0.26 640,261 9/19/2018
2.0.25 3,705 9/13/2018
2.0.23 107,406 9/6/2018
2.0.22 15,540 8/22/2018
2.0.19 382,095 6/13/2018
2.0.11 227,527 3/29/2018
2.0.10 46,309 3/22/2018
2.0.6 16,845 3/1/2018
2.0.5 808,900 2/21/2018
2.0.4 553,328 2/1/2018
2.0.3 12,950 2/1/2018
2.0.2 23,416,060 1/17/2018
1.0.41 1,036,687 2/3/2016
1.0.40 32,406 12/7/2015
1.0.39 27,168 10/8/2015
1.0.38 55,182 8/20/2015
1.0.35 68,186 8/6/2015
1.0.32 15,210 5/27/2015
1.0.31 3,063 5/27/2015
1.0.30 3,366 5/26/2015
1.0.29 3,919 5/15/2015
1.0.28 3,882 5/5/2015
1.0.26 93,507 3/27/2015
1.0.25 34,720 1/10/2015
1.0.24 16,834 1/8/2015
1.0.23 284,734 12/12/2014
1.0.21 30,298 7/24/2014
1.0.20 8,631 7/21/2014
1.0.16 4,846 6/27/2014
1.0.15 140,518 6/7/2014
1.0.13 11,624 5/20/2014
1.0.12 3,852 5/13/2014
1.0.11 21,013 3/26/2014
1.0.10 3,476 3/25/2014
1.0.5 7,621 1/3/2014
1.0.4 3,261 1/3/2014
1.0.3 413,986 1/3/2014
1.0.2-rc 2,955 12/10/2013
1.0.1-beta 53,414 8/15/2013

Version 1.0.40 - More fixes for self-describing events, many improvments on starts-stop and activity computer.  
     Version 1.0.39 - Fixes for self-describing events, more win10 fixes
     Version 1.0.38 - Fixes for self-describing event decoding. (Zack Newman)
     Version 1.0.37 - Fixed problem with merging on Win10
     Version 1.0.36 - Fixed issue decoding IPV6 fields in payloads.
     Version 1.0.35 - DynamicTraceEventParser decodes SelfDescribing Events
                    - Added CaptureStateOnSetFileName functionality for multi-file traces,
                    - Added GetActiveSession() to test if a session exists (mostly for discoverability)
                    - Added UTCOffsetMinutes so you know the time zone where the data was collected
                    - Added support for two-level PDB symbol server layout.  
     Version 1.0.32 - Fix release notes
     Version 1.0.31 - Fix bug in Merge operation introduced in 1.0.30
     Version 1.0.30 - Added Support for bitfields/enums for OS registered providers (previously only for EventSources).  Fixed timestamp issues with real time providers that run when daylight savings time occurs (TimeStampRelMSec works).
     Version 1.0.29 - fixed bugs associated with parsing payloads with arrays using the EventSource self-describing format.