Repository navigation
Fix duplicate browser library-test publish symbols - #135619
Merged
Merged
Conversation
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Replace conflicting project-reference PDBs with the selected assemblies' adjacent symbols, matching by publication path. Preserve linked and nested output paths, unrelated symbols, and existing symbols when no adjacent PDB is available. Keep duplicate publication checks enabled. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
akoeplinger
force-pushed
the
fix-browser-pdb-publish
branch
from
October 12, 2026 09:07
3e86fd4 to
a0f47b9
Compare
lewing
approved these changes
Oct 12, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fix
NETSDK1152when browser test publishing retains project-reference PDBs alongside runtime-pack PDBs. Use symbols matching the selected DLLs, preserving nested paths and existing symbols when no sibling PDB exists.The net12 retarget exposed this because its bootstrap SDK lacks net12 pruning data: transitive library project references remain, whereas net11 prunes them. The fix is TFM-independent; publish symbols should match the selected DLLs regardless of how overlapping inputs arise.
Validated with target edge cases on main and Mono/CoreCLR/EAT browser builds plus linked publishing on
net12-retarget. Windows execution and a full main-branch browser build were not run.Note
Prepared with GitHub Copilot.