From cecd6e7437a960221195aeff1a6d1220ff976d28 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Thu, 9 Apr 2026 15:52:05 -0400 Subject: [PATCH 1/3] Fix GeneratedBindableCustomProperty tip formatting Add missing blockquote prefix on tip content line so text renders inside the tip bubble instead of below it. Also fix missing word 'on' in the sentence. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md index 847fea9650..73ea853f64 100644 --- a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md +++ b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md @@ -146,7 +146,7 @@ The following can be set in library projects: If your existing app uses a [runtime directives (rd.xml) file](runtime-directives-rd-xml-configuration-file-reference.md) for .NET Native, you'll need to address reflection and trimming requirements differently with Native AOT using attributes and analyzers instead. > [!TIP] -Use `[GeneratedBindableCustomProperty]` classes that need `{Binding}` in XAML. These classes should be marked as `partial`. +> Use `[GeneratedBindableCustomProperty]` on classes that need `{Binding}` in XAML. These classes should be marked as `partial`. ### Step 3: Test Thoroughly From 92b84d618aae3099aea2ffcdbe0d068a9c04b7d8 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Thu, 9 Apr 2026 15:57:13 -0400 Subject: [PATCH 2/3] Update PublishAot text --- uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md index 73ea853f64..c0969f1881 100644 --- a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md +++ b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md @@ -101,7 +101,7 @@ UWP modern .NET projects use SDK-style .csproj files with key properties: - **UseUwp**: References WinRT projections for Windows.UI.Xaml types and configures CsWinRT for UWP compatibility - **UseUwpTools**: Enables UWP-specific tooling including XAML compiler, project capabilities, and MSIX packaging. Note this property is enabled by default when `UseUwp` is enabled. - **EnableMsixTooling**: Enables single-project MSIX support (no separate packaging project needed) -- **PublishAot**: Enables Native AOT compilation (required for Microsoft Store publication) +- **PublishAot**: Enables Native AOT compilation - **DisableRuntimeMarshalling**: Optimizes performance for Native AOT scenarios ## Migrating Existing UWP Apps to Modern .NET From e4fb29ddbc1be5bac9fe0539f4fa36c810c282c0 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Thu, 9 Apr 2026 17:29:27 -0400 Subject: [PATCH 3/3] PR feedback --- uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md index c0969f1881..c9570fec64 100644 --- a/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md +++ b/uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md @@ -111,7 +111,7 @@ To migrate an existing UWP app from [.NET Native](index.md) to modern .NET: ### Step 1: Update Project File 1. Convert your existing .csproj to SDK-style format -2. Add the required properties (`UseUwp`, `EnableMsixTooling`, `PublishAot`) +2. Add the required properties - `UseUwp`, `EnableMsixTooling`, then `PublishAot` or `SelfContained` 3. Update NuGet package references to versions compatible with the latest .NET ### Step 2: Address Native AOT Compatibility