dotnet / dotnet/sourcelink

Support source embedding for C++/native builds

Open
#1,740 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

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 `true` or `true`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README statement that source embedding and commit metadata are unsupported for native projects, then trace the native build path. The work is done when native builds support the requested EmbedUntrackedSources or EmbedAllSources options and embed source information as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.