Repository navigation
Embed PDBs in shipping assemblies - #3077
Merged
Merged
Conversation
MihaZupan
enabled auto-merge (squash)
November 18, 2026 08:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2911
YARP 2.3.0's symbols were never published to the Microsoft symbol serve, although 2.2.0's were. Symbols only get there if the release build is promoted to a public Maestro channel, which the release process doesn't guarantee. As a result, users can't step into YARP source when debugging the NuGet packages.
This PR sets
DebugType=embedded, so the PDB ships inside the DLL in the package. Together with the existing Source Link and EmbedUntrackedSources settings, debugging works straight from the NuGet package. It doesn't depend on the symbol server or on any release pipeline step.Arcade already embeds PDBs in local and PR builds and only switches to separate PDB files in official builds, so only official builds change. Arcade's SymStore.targets still converts embedded PDBs for symbol server publishing. Orleans and Aspire ship embedded PDBs the same way.
Note: IncludeSymbols=true is unchanged, so a .symbols.nupkg is still produced, now identical to the main package. I left it so Arcade's publishing inputs stay the same; it can be turned off in a follow-up.
(description mostly Copilot generated)