Skip to content

Support source embedding for C++/native builds #1740

Description

@chwarr

Please consider adding support for source embedding to C++/native builds.

The README says that this is not currently supported (as of July 2026):

Source embedding and embedding commit SHA and repository URL information in the native binary are not supported for native projects.

I didn't see an issue for this feature request, so I figured I would open one. If this is a duplicate of something else, feel free to close it.

I'd need to play with things, but for my projects I'd use either <EmbedUntrackedSources>true</EmbedUntrackedSources> or <EmbedAllSources>true</EmbedAllSources>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions