From 755a64851801aa050206a70e843c1a9567e88e6f Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Thu, 13 Feb 2025 11:38:23 +0100 Subject: [PATCH 1/2] feat: Recognize .WinAppSDK.cs in Uno.SDK --- src/Uno.Sdk/targets/Uno.CrossTargeting.targets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Uno.Sdk/targets/Uno.CrossTargeting.targets b/src/Uno.Sdk/targets/Uno.CrossTargeting.targets index 2bf8d23cceeb..2889fa883788 100644 --- a/src/Uno.Sdk/targets/Uno.CrossTargeting.targets +++ b/src/Uno.Sdk/targets/Uno.CrossTargeting.targets @@ -29,6 +29,9 @@ + + + From ffbc8633e86974c39aa5b6f177e7cf8b80f92491 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Thu, 13 Feb 2025 11:47:08 +0100 Subject: [PATCH 2/2] docs: Update cross targeting support --- doc/articles/features/using-the-uno-sdk.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/articles/features/using-the-uno-sdk.md b/doc/articles/features/using-the-uno-sdk.md index efb08f7cbe78..cf3147b8be90 100644 --- a/doc/articles/features/using-the-uno-sdk.md +++ b/doc/articles/features/using-the-uno-sdk.md @@ -273,13 +273,14 @@ Many Uno projects and libraries make use of a `winappsdk-workaround.targets` fil By Default when using the Uno.Sdk you get the added benefit of default includes for an easier time building Cross Targeted Applications. The supported file extensions are as shown below: - `*.crossruntime.cs` (WASM, Skia, or Reference) -- `*.wasm.cs` -- `*.skia.cs` -- `*.reference.cs` +- `*.wasm.cs` (WebAssembly) +- `*.skia.cs` (Skia) +- `*.reference.cs` (Reference only) - `*.iOS.cs`(iOS & MacCatalyst) - `*.macOS.cs` (MacOS not MacCatalyst) - `*.iOSmacOS.cs` (iOS, MacCatalyst, & MacOS) -- `*.Android.cs` +- `*.Android.cs` (Android) +- `*.WinAppSDK.cs` (Windows App SDK) As discussed above setting `EnableDefaultUnoItems` to false will disable these includes.