Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

Fixes: dotnet/source-build#4973

This PR fixes the issue with conditioning out of symbols nupkgs when creating the PSB archive. It appears that current code never worked. This has suddenly become apparent as repo publishing process is now publishing these symbols nupkgs, even in source-build, which was not the case before. To ensure that we don't get regressed by any future publishing changes, the fix is being implemented in source-build's post-build target, and fixes the previously broken code.

This issue is unrelated to packaging of symbols in a separate archive. Symbols (PDBs) are collected using a completely different method, and not from symbols nupkgs.

Copilot AI review requested due to automatic review settings March 26, 2025 04:02
@NikolaMilosavljevic NikolaMilosavljevic requested review from a team as code owners March 26, 2025 04:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/SourceBuild/content/eng/finish-source-only.proj: Language not supported

@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Mar 26, 2025
Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use Exclude instead of Remove after the Include? Or does that not work correctly?

@NikolaMilosavljevic
Copy link
Member Author

Could we use Exclude instead of Remove after the Include? Or does that not work correctly?

I got this to work and the same model is used in other places in the codebase. I'm hesitant to do more exploration.

@NikolaMilosavljevic NikolaMilosavljevic merged commit b20df7d into dotnet:main Mar 26, 2025
41 checks passed
@NikolaMilosavljevic
Copy link
Member Author

/backport to release/10.0.1xx-preview3

@github-actions
Copy link
Contributor

Started backporting to release/10.0.1xx-preview3: https://github.com/dotnet/sdk/actions/runs/14091867245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Source build artifacts has more than doubled in size in 10.0

4 participants