From 8266456cd8f5acec268825573525e7212187e335 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:59:04 +0100 Subject: [PATCH] docs: Add tip for excluding pages with Uno.Sdk --- doc/articles/features/using-the-uno-sdk.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/articles/features/using-the-uno-sdk.md b/doc/articles/features/using-the-uno-sdk.md index f82af75ffb31..eaa3e75b2a3d 100644 --- a/doc/articles/features/using-the-uno-sdk.md +++ b/doc/articles/features/using-the-uno-sdk.md @@ -244,6 +244,20 @@ By Default when using the Uno.Sdk you get the added benefit of default includes As discussed above setting `EnableDefaultUnoItems` to false will disable these includes. +> [!TIP] +> When you need to exclude specific files from a particular target framework (such as WebAssembly), you can use a custom MSBuild target: +> +> ```xml +> +> +> +> +> +> +> ``` +> +> This approach allows you to selectively remove pages from specific target frameworks while maintaining them in others. + ## Apple Privacy Manifest Support Starting May 1st, 2024, Apple requires the inclusion of a new file, the [Privacy Manifest file](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files) (named `PrivacyInfo.xcprivacy`), in app bundles. This file is crucial for complying with updated privacy regulations.