Repository navigation
chore: Remove PDB files when DebugType is none or DebugSymbols is false - #23206
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Uno WinUI runtime replacement MSBuild targets to prevent .pdb files from being copied into build outputs when building in Release, reducing Release artifact size/noise for consumers of the targets.
Changes:
- Add a
RemovePdbFilesFromOutputtarget that removes.pdbitems fromReferenceCopyLocalPathsandRuntimeTargetsCopyLocalItemsinRelease. - Hook the target via
AfterTargetsto run after runtime replacement / lock-file copy-local resolution.
PR description note: The PR currently has no linked issue (“n/a”). If this is intentional, please add a note in the PR description in the required format (e.g., “Note: No related issue (Internal maintenance / Approved by Team member: @).”) or link the relevant issue using a fully-qualified URL.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23206/wasm-skia-net9/index.html |
9db4ceb to
a7d8ca7
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
|
How much it bothers me when this happens! 😥
cc: @Xiaoy312 |
83b4814 to
cf337c5
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23206/wasm-skia-net9/index.html |
|
|

GitHub Issue: closes https://github.com/unoplatform/kahua-private/issues/459
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Adds an MSBuild target
RemovePdbFilesFromOutputinuno.winui.runtime-replace.targetsthat removes.pdbfiles fromReferenceCopyLocalPathsandRuntimeTargetsCopyLocalItemswhen$(DebugType)isnoneor$(DebugSymbols)isfalse, preventing PDB files from being included in the output.PR Checklist ✅
Screenshots Compare Test Runresults.