From aa1e8c880af0396a56328997b20d1ed81bdfb15a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Sep 2025 06:47:15 +0000 Subject: [PATCH 1/2] Initial plan From 31297b1e341cefb9de5a1db81bef5cc8c06d479d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Sep 2025 06:56:10 +0000 Subject: [PATCH 2/2] Add MSBuild fix to prevent RuntimeIdentifier from being passed to class libraries during publish Co-authored-by: haonanttt <186026394+haonanttt@users.noreply.github.com> --- ...Microsoft.WindowsAppSDK.Foundation.targets | 3 +++ ...Microsoft.WindowsAppSDK.PublishFix.targets | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 build/NuSpecs/Microsoft.WindowsAppSDK.PublishFix.targets diff --git a/build/NuSpecs/Microsoft.WindowsAppSDK.Foundation.targets b/build/NuSpecs/Microsoft.WindowsAppSDK.Foundation.targets index 925af86b..7c444a72 100644 --- a/build/NuSpecs/Microsoft.WindowsAppSDK.Foundation.targets +++ b/build/NuSpecs/Microsoft.WindowsAppSDK.Foundation.targets @@ -15,6 +15,9 @@ + + + diff --git a/build/NuSpecs/Microsoft.WindowsAppSDK.PublishFix.targets b/build/NuSpecs/Microsoft.WindowsAppSDK.PublishFix.targets new file mode 100644 index 00000000..8dc4421f --- /dev/null +++ b/build/NuSpecs/Microsoft.WindowsAppSDK.PublishFix.targets @@ -0,0 +1,25 @@ + + + + + + + + + RuntimeIdentifier + $(ProjectReferenceGlobalPropertiesToRemove);RuntimeIdentifier + + + \ No newline at end of file