DNDHRemover icon indicating copy to clipboard operation
DNDHRemover copied to clipboard

A Command-Line Tool for Removing DotNetRuntimeDebugHeader from NativeAOT Published .NET PE Files.

DNDHRemover

DNDH Remover is a tool designed for removing the DotNetRuntimeDebugHeader (DNDH) export header from NativeAOT published .NET Portable Executable (PE) files. This utility is particularly useful for .NET developers who are working with NativeAOT and require a temporary solution for managing PE files until the full support is integrated in .NET 9, as outlined in this pull request.

The tool is specifically targeted at .dll and .exe files, providing a straightforward and efficient means of removing the DNDH export header.

Usage

To use DNDH Remover, follow these steps:

  1. Open a command prompt or terminal.

  2. Navigate to the directory containing the DNDH Remover executable.

  3. Run the tool with the path to the PE file:

    DNDHRemover.exe <path_to_PE_file>

Before Removing

After Removing