Microsoft.Diagnostics.Tracing.TraceEvent 3.0.0-preview2

Prefix Reserved
This is a prerelease version of Microsoft.Diagnostics.Tracing.TraceEvent.
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 3.0.0-preview2
                    
NuGet\Install-Package Microsoft.Diagnostics.Tracing.TraceEvent -Version 3.0.0-preview2
                    
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="3.0.0-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.0.0-preview2" />
                    
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 3.0.0-preview2
                    
#r "nuget: Microsoft.Diagnostics.Tracing.TraceEvent, 3.0.0-preview2"
                    
#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.
#:package Microsoft.Diagnostics.Tracing.TraceEvent@3.0.0-preview2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Diagnostics.Tracing.TraceEvent&version=3.0.0-preview2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Diagnostics.Tracing.TraceEvent&version=3.0.0-preview2&prerelease
                    
Install 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 .NET 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.
   
     See https://github.com/Microsoft/perfview/blob/master/documentation/TraceEvent/TraceEventLibrary.md for more.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (52)

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)

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/

Microsoft.ApplicationInsights.EtwCollector

Application Insights EtwCollector allows sending data from Event Tracing for Windows (ETW) to Application Insights. Application Insights will collect your logs from multiple sources and provide rich powerful search capabilities. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156.

GitHub repositories (78)

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.
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/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
msasanmh/DNSveil
A DNS Client Supporting DNSCrypt, Anonymized DNSCrypt, DoH, DoT, UDP And TCP.
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
microsoft/vstest
Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
Version Downloads Last Updated
3.1.24 6,244 8/27/2025
3.1.23 57,618 7/11/2025
3.1.22 109,023 6/5/2025
3.1.21 680,744 5/2/2025
3.1.20 56,454 4/1/2025
3.1.19 98,007 1/31/2025
3.1.18 156,945 12/12/2024
3.1.17 113,980 11/9/2024
3.1.16 90,108 10/15/2024
3.1.15 68,856 8/27/2024
3.1.14 1,949 8/26/2024
3.1.13 179,479 7/16/2024
3.1.12 183,359 6/13/2024
3.1.11 14,760 6/10/2024
3.1.10 188,466 5/3/2024
3.1.9 323,310 3/7/2024
3.1.8 7,047,161 1/31/2024
3.1.7 102,511 12/5/2023
3.1.6 159,784 10/20/2023
3.1.5 88,575 8/25/2023
3.1.4 12,002 8/15/2023
3.1.3 1,240,537 5/18/2023
3.1.2 27,783 4/14/2023
3.1.1 134,114 4/5/2023
3.1.0 18,160 3/31/2023
3.0.8 129,489 2/28/2023
3.0.7 114,150 1/18/2023
3.0.6 109,654 11/16/2022
3.0.5 112,912 9/26/2022
3.0.4 137,384 8/26/2022
3.0.3 20,313 8/5/2022
3.0.2 16,689,191 7/1/2022
3.0.1 72,157 5/31/2022
3.0.0 65,557 4/20/2022
3.0.0-preview2 1,788 3/23/2022
3.0.0-preview1 1,625 3/2/2022
2.0.77 241,860 4/11/2022
2.0.76 151,039 3/2/2022
2.0.75 3,702 2/28/2022
2.0.74 1,091,907 11/9/2021
2.0.73 87,381 9/27/2021
2.0.72 5,635 9/16/2021
2.0.71 182,841 7/26/2021
2.0.70 44,031 7/7/2021
2.0.69 74,552 5/24/2021
2.0.68 30,403 4/26/2021
2.0.67 4,419 4/22/2021
2.0.66 263,379 2/22/2021
2.0.65 245,600 1/25/2021
2.0.64 1,480,663 1/5/2021
2.0.62 285,859 11/9/2020
2.0.61 8,940,757 9/21/2020
2.0.60 6,811 9/10/2020
2.0.59 27,585 9/4/2020
2.0.58 91,352 8/6/2020
2.0.57 120,315 7/2/2020
2.0.56 61,732 5/27/2020
2.0.55 869,899 4/29/2020
2.0.54 50,062 4/8/2020
2.0.52 82,055 3/23/2020
2.0.51 12,726 3/11/2020
2.0.50 19,743 3/11/2020
2.0.49 6,491,542 1/9/2020
2.0.48 205,042 11/22/2019
2.0.47 21,716 10/29/2019
2.0.46 2,790 10/24/2019
2.0.45 464,770 8/9/2019
2.0.44 477,364 7/1/2019
2.0.43 545,694 6/19/2019
2.0.42 127,389 5/7/2019
2.0.41 155,933 4/25/2019
2.0.40 82,300 4/1/2019
2.0.39 16,490 3/21/2019
2.0.38 551,553 2/27/2019
2.0.36 195,394 2/4/2019
2.0.34 267,058 1/18/2019
2.0.33 33,357 1/3/2019
2.0.32 11,090 12/13/2018
2.0.31 3,318 12/12/2018
2.0.30 438,212 11/1/2018
2.0.29 104,122 10/10/2018
2.0.26 644,647 9/19/2018
2.0.25 3,829 9/13/2018
2.0.23 107,571 9/6/2018
2.0.22 15,669 8/22/2018
2.0.19 382,385 6/13/2018
2.0.11 228,725 3/29/2018
2.0.10 46,468 3/22/2018
2.0.6 17,043 3/1/2018
2.0.5 809,043 2/21/2018
2.0.4 553,454 2/1/2018
2.0.3 13,289 2/1/2018
2.0.2 23,987,829 1/17/2018
1.0.41 1,045,858 2/3/2016
1.0.40 32,530 12/7/2015
1.0.39 27,338 10/8/2015
1.0.38 55,299 8/20/2015
1.0.35 68,307 8/6/2015
1.0.32 15,425 5/27/2015
1.0.31 3,197 5/27/2015
1.0.30 3,518 5/26/2015
1.0.29 4,035 5/15/2015
1.0.28 4,001 5/5/2015
1.0.26 94,115 3/27/2015
1.0.25 34,843 1/10/2015
1.0.24 16,954 1/8/2015
1.0.23 285,026 12/12/2014
1.0.21 30,554 7/24/2014
1.0.20 8,902 7/21/2014
1.0.16 4,999 6/27/2014
1.0.15 140,845 6/7/2014
1.0.13 11,788 5/20/2014
1.0.12 4,009 5/13/2014
1.0.11 22,484 3/26/2014
1.0.10 3,630 3/25/2014
1.0.5 7,739 1/3/2014
1.0.4 3,396 1/3/2014
1.0.3 414,258 1/3/2014
1.0.2-rc 3,072 12/10/2013
1.0.1-beta 53,558 8/15/2013