From 5f10f4caf3f8e198378c82be1c6b49967a3dfbbf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 08:35:35 +0000 Subject: [PATCH 1/2] Initial plan From a95bd2a5902e715eebd71a3eb1c706135048566a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 08:39:12 +0000 Subject: [PATCH 2/2] Fix YOUR-PATH-TO-EXECUTABLE placeholder and add rescap:Capability warning note Replace unclear YOUR-PATH-TO-EXECUTABLE with YOUR-PROJECT-NAME\YOUR-PROJECT-NAME.exe and add an explanation of how to determine the correct value. Also add a note that the rescap:Capability schema validation warning is safe to ignore. Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com> --- docs/maui/includes/toast-snackbar-setup.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/maui/includes/toast-snackbar-setup.md b/docs/maui/includes/toast-snackbar-setup.md index df07f2dc2..049eefcfc 100644 --- a/docs/maui/includes/toast-snackbar-setup.md +++ b/docs/maui/includes/toast-snackbar-setup.md @@ -73,7 +73,7 @@ Here is an example of a completed opening `` tag that has added support - + @@ -82,6 +82,9 @@ Here is an example of a completed opening `` tag that has added support ``` +> [!IMPORTANT] +> Replace `YOUR-PROJECT-NAME\YOUR-PROJECT-NAME.exe` with the path to your project's executable. The format is `{.csproj file name without extension}\{.csproj file name without extension}.exe`. For example, if your project file is `MyMauiApp.csproj`, the value would be `MyMauiApp\MyMauiApp.exe`. + ##### Example: Completed `` tag Here is an example of a completed `` tag that now has added support for `Snackbar`: @@ -106,7 +109,7 @@ Here is an example of a completed `` tag that now has added suppor - + @@ -167,7 +170,7 @@ Below is an example `Package.appxmanifest` file that has been updated to support - + @@ -184,6 +187,9 @@ Below is an example `Package.appxmanifest` file that has been updated to support ``` +> [!NOTE] +> You may see a schema validation warning in Visual Studio about `rescap:Capability` being an invalid child element of `Capabilities`. This warning can be safely ignored — the `rescap:Capability` element is correct and required for the app to run with full trust. + For more information on handling activation: [Send a local toast notification from C# apps](/windows/apps/design/shell/tiles-and-notifications/send-local-toast?tabs=uwp#step-3-handling-activation) ### [Tizen](#tab/tizen)