Skip to content

Why createdump.exe is needed to do "dotnet publish"? #43716

@mingtong

Description

@mingtong

I am trying to publish a .NET 5 trimmed App(upgrading from .NET Core 3.1), with the command
"dotnet publish -c Release --force -r win-x86 --self-contained true "xxxcsproj" /p:PublishTrimmed=true"
I found the following DLLs are needed.

  • System.Formats.Asn1.dll
  • Microsoft.Windows.SDK.NET.dll
  • WinRT.Runtime.dll
  • api-ms-win-core-console-l1-2-0.dll
  • createdump.exe

But I am quite confused why createdump.exe is needed to run?
Is it for .NET 5 RC2 to collect dump file and will not be needed in Release version?

And, is there a way to reduce the size of "Microsoft.Windows.SDK.NET.dll", it's nearly 30MB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions