Microsoft.Testing.Extensions.HangDump
2.4.0
Prefix Reserved
dotnet add package Microsoft.Testing.Extensions.HangDump --version 2.4.0
NuGet\Install-Package Microsoft.Testing.Extensions.HangDump -Version 2.4.0
<PackageReference Include="Microsoft.Testing.Extensions.HangDump" Version="2.4.0" />
<PackageVersion Include="Microsoft.Testing.Extensions.HangDump" Version="2.4.0" />
<PackageReference Include="Microsoft.Testing.Extensions.HangDump" />
paket add Microsoft.Testing.Extensions.HangDump --version 2.4.0
#r "nuget: Microsoft.Testing.Extensions.HangDump, 2.4.0"
#:package Microsoft.Testing.Extensions.HangDump@2.4.0
#addin nuget:?package=Microsoft.Testing.Extensions.HangDump&version=2.4.0
#tool nuget:?package=Microsoft.Testing.Extensions.HangDump&version=2.4.0
Microsoft.Testing.Extensions.HangDump
Microsoft.Testing.Extensions.HangDump is an extension for Microsoft.Testing.Platform that captures a memory dump when the test host process appears to be hung (exceeds a configurable timeout).
Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Extensions.HangDump code in the microsoft/testfx GitHub repository.
Install the package
dotnet add package Microsoft.Testing.Extensions.HangDump
About
This package extends Microsoft.Testing.Platform with:
- Hang detection: monitors the test host process and detects when it exceeds a configurable timeout without any activity.
- Dump collection: captures a memory dump of the hanging process for post-mortem analysis
- Deadlock investigation: collected dumps can be analyzed with tools like Visual Studio, WinDbg, or
dotnet-dumpto diagnose deadlocks and other hang causes
The timeout defaults to 30m and can be configured in values such as 90s, 5m, or 1.5h.
Usage
Enable hang dump collection via the --hangdump command line option, and configure the timeout with --hangdump-timeout.
Related packages
- Microsoft.Testing.Extensions.CrashDump: captures dumps when the test process crashes
Documentation
For this extension, see https://learn.microsoft.com/dotnet/core/testing/microsoft-testing-platform-crash-hang-dumps#hang-dump.
For comprehensive documentation, see https://aka.ms/testingplatform.
Feedback & contributing
Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.
| Product | Versions 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 is compatible. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. 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 | 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. |
-
.NETStandard 2.0
- Microsoft.Diagnostics.NETCore.Client (>= 0.2.607501)
- Microsoft.Testing.Platform (>= 2.4.0 && < 3.0.0)
-
net8.0
- Microsoft.Diagnostics.NETCore.Client (>= 0.2.607501)
- Microsoft.Testing.Platform (>= 2.4.0 && < 3.0.0)
-
net9.0
- Microsoft.Diagnostics.NETCore.Client (>= 0.2.607501)
- Microsoft.Testing.Platform (>= 2.4.0 && < 3.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Microsoft.Testing.Extensions.HangDump:
| Package | Downloads |
|---|---|
|
Soneta.Test
Składnik programu Soneta. Program obsługi firmy: kadry-płace, księgowość, handel, magazyn, CRM, BI ... |
|
|
Prova
High-performance, AOT-safe testing framework for .NET. |
|
|
Headless.NET.Sdk.Test
An opinionated MSBuild SDK family for consistent project evaluation, mandatory analyzer infrastructure, configurable banned-API policy, CI quality gates, packaging defaults, and Microsoft Testing Platform support across compatible .NET projects. Distributed through GitHub Packages and NuGet.org; no license is currently granted. |
GitHub repositories (21)
Showing the top 20 popular GitHub repositories that depend on Microsoft.Testing.Extensions.HangDump:
| Repository | Stars |
|---|---|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
|
MudBlazor/MudBlazor
Blazor Component Library based on Material Design principles. Do more with Blazor, utilizing CSS and keeping JavaScript to a bare minimum.
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop, and Embedded apps from a single C#/XAML codebase. Work from any IDE/CLI with Hot Reload, Visual Designer, MCPs, and Skills built for modern .NET workflows. 200M+ NuGet downloads.
|
|
|
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
|
|
|
microsoft/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
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.
|
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
|
dotnet/Nerdbank.GitVersioning
Stamp your assemblies, packages and more with a unique version generated from a single, simple version.json file and include git commit IDs for non-official builds.
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
microsoft/vs-threading
The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
|
|
|
microsoft/vs-streamjsonrpc
The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.
|
|
|
dotnet/Nerdbank.Streams
Specialized .NET Streams and pipes for full duplex in-proc communication, web sockets, and multiplexing
|
|
|
CommunityToolkit/Aspire
A community project with additional components and extensions for Aspire
|
|
|
thomhurst/ModularPipelines
Write your pipelines in C# !
|
|
|
foxminchan/BookWorm
The practical implementation of Aspire using Microservices, AI-Agents
|
|
|
VSadov/Satori
Experimenting with dotnet runtime.
|
|
|
eiriktsarpalis/PolyType
Practical generic programming for .NET
|
|
|
microsoft/vs-solutionpersistence
Shared serializers and models for Visual Studio solution files. Handles traditional .sln file and new .slnx file.
|
|
|
AArnott/Xunit.Combinatorial
Adds combinatorial and pairwise testing capability to Xunit tests
|
|
|
AArnott/Nerdbank.MessagePack
A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#]
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.4.0 | 85 | 9/2/2026 |
| 2.3.3 | 126,568 | 7/28/2026 |
| 2.3.2 | 89,416 | 7/13/2026 |
| 2.3.1 | 15,058 | 7/8/2026 |
| 2.3.0 | 6,277 | 7/7/2026 |
| 2.2.3 | 114,048 | 5/14/2026 |
| 2.2.2 | 20,909 | 4/30/2026 |
| 2.2.1 | 41,689 | 4/7/2026 |
| 2.1.0 | 111,423 | 2/3/2026 |
| 2.0.2 | 97,407 | 11/11/2025 |
| 2.0.1 | 31,576 | 10/14/2025 |
| 2.0.0 | 1,152 | 10/7/2025 |
| 2.0.0-preview.25480.4 | 193 | 9/30/2025 |
| 2.0.0-preview.25465.3 | 287 | 9/15/2025 |
| 2.0.0-preview.25454.2 | 213 | 9/4/2025 |
| 2.0.0-preview.25452.10 | 181 | 9/2/2025 |
| 1.9.1 | 40,540 | 11/11/2025 |
| 1.9.0 | 64,714 | 10/1/2025 |
| 1.8.5 | 845 | 9/30/2025 |
| 1.8.4 | 18,295 | 9/2/2025 |
See the release notes at https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#2.4.0.