dotnet-dstrings
2.0.0
dotnet tool install --global dotnet-dstrings --version 2.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local dotnet-dstrings --version 2.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-dstrings&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-dstrings --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-dstrings
A .NET global CLI tool and MCP server to analyze duplicated strings in a .NET application (live process or memory dump) with per-generation heap statistics.
Installation
dotnet tool install --global dotnet-dstrings
CLI Usage
dotnet-dstrings [-p <pid> | <dumpfile>] [-c <count>] [-s <sizeKB>] [-l <length>]
Options
| Option | Description | Default |
|---|---|---|
-p <pid> |
Process ID to attach to | |
<dumpfile> |
Path to a memory dump file | |
-c <count> |
Minimum occurrence count to display | 128 |
-s <sizeKB> |
Minimum cumulated size in KB to display | 100 |
-l <length> |
Max string length to display | 64 |
--mcp |
Start as stdio MCP server |
Provide either -p <pid> or a dump file path, but not both.
Example
dotnet-dstrings myapp.dmp -c 64 -s 50
MCP Server Usage
dotnet-dstrings --mcp
When started with --mcp, the tool runs as a stdio-based MCP server exposing a GetDuplicatedStrings tool with the same parameters as the CLI.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Migrated to ClrMD 3.0, added MCP server support, targets .NET 6+