Skip to content

MetaDataGetDispenser export missing for PublishSingleFile=true, and --self-contained #103687

@georgschausberger

Description

@georgschausberger

Description

If a .NET application is published with PublishSingleFile=true and --self-contained there are no exports to MetaDataGetDispenser any more. This method is needed for many ClrProfilers.

Reproduction Steps

PublishSingleFile=true and --self-contained,
use objdump -TC myExecutable.exe to show the exported symbols.

Expected behavior

symbold should be available

Actual behavior

symbol is not available

Regression?

No response

Known Workarounds

none

Configuration

.NET 6 and newer

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-author-actionAn issue or pull request that requires more info or actions from the author.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions