Skip to content

Enable embedded PDBs and Source Link#664

Merged
dfederm merged 1 commit intomainfrom
dfederm/embedded-pdbs
Apr 16, 2026
Merged

Enable embedded PDBs and Source Link#664
dfederm merged 1 commit intomainfrom
dfederm/embedded-pdbs

Conversation

@dfederm
Copy link
Copy Markdown
Member

@dfederm dfederm commented Apr 16, 2026

Add embedded PDB and Source Link configuration to Directory.Build.props:

  • DebugType=embedded — embeds PDB data directly in the output assemblies
  • EmbedUntrackedSources=true — includes source files not tracked by source control
  • PublishRepositoryUrl=true — publishes the repository URL in the NuGet package

Source Link is built into the .NET 10 SDK, so no additional package references are needed. RepositoryUrl is already set in Directory.Build.targets.

Also removes the now-redundant per-project IncludeSymbols/SymbolPackageFormat=snupkg and EmbedUntrackedSources settings from Artifacts, CopyOnWrite, and RunVSTest projects, since these are handled centrally.

@dfederm dfederm force-pushed the dfederm/embedded-pdbs branch from de778df to a531f25 Compare April 16, 2026 18:26
Add DebugType=embedded, EmbedUntrackedSources, and PublishRepositoryUrl
to Directory.Build.props. Source Link is built into the .NET 10 SDK so
no additional package references are needed. RepositoryUrl is already
set in Directory.Build.targets.

Remove per-project IncludeSymbols/SymbolPackageFormat=snupkg and
EmbedUntrackedSources settings from Artifacts, CopyOnWrite, and
RunVSTest projects since these are now handled centrally.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dfederm dfederm force-pushed the dfederm/embedded-pdbs branch from a531f25 to 8b04f30 Compare April 16, 2026 18:27
@dfederm dfederm enabled auto-merge (squash) April 16, 2026 19:22
@dfederm dfederm merged commit 3ca1b1f into main Apr 16, 2026
7 checks passed
@dfederm dfederm deleted the dfederm/embedded-pdbs branch April 16, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants