From 8ae7667aee9cd13ce46ca5d7ddc53dcb30a0979a Mon Sep 17 00:00:00 2001 From: Yu Leng <42196638+moooyo@users.noreply.github.com> Date: Mon, 16 Jun 2025 13:37:00 +0800 Subject: [PATCH] [CmdPal][AOT] Fix fontIcon issue when build with AOT (#40058) ## Summary of the Pull Request FontIcon will be trimmed, we need to create a rd.xml to keep them. ## PR Checklist - [x] **Closes:** #40057 - [x] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [x] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx ## Detailed Description of the Pull Request / Additional comments ## Validation Steps Performed Co-authored-by: Yu Leng --- .../cmdpal/Microsoft.CmdPal.UI/Microsoft.CmdPal.UI.csproj | 4 ++++ src/modules/cmdpal/Microsoft.CmdPal.UI/rd.xml | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 src/modules/cmdpal/Microsoft.CmdPal.UI/rd.xml diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Microsoft.CmdPal.UI.csproj b/src/modules/cmdpal/Microsoft.CmdPal.UI/Microsoft.CmdPal.UI.csproj index 0b653d2d0a..3ec87dc3e2 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Microsoft.CmdPal.UI.csproj +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Microsoft.CmdPal.UI.csproj @@ -105,6 +105,10 @@ + + + + diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/rd.xml b/src/modules/cmdpal/Microsoft.CmdPal.UI/rd.xml new file mode 100644 index 0000000000..f8dc5641af --- /dev/null +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/rd.xml @@ -0,0 +1,7 @@ + + + + + + +