Skip to content

Commit fd1e414

Browse files
tommcdonCopilot
andauthored
Update Modern .NET UWP app docs (#5895)
* 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 <[email protected]> * Update PublishAot text * PR feedback --------- Co-authored-by: Copilot <[email protected]>
1 parent 7a95eae commit fd1e414

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

uwp/dotnet-native/modernize-uwp-apps-with-dotnet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ UWP modern .NET projects use SDK-style .csproj files with key properties:
101101
- **UseUwp**: References WinRT projections for Windows.UI.Xaml types and configures CsWinRT for UWP compatibility
102102
- **UseUwpTools**: Enables UWP-specific tooling including XAML compiler, project capabilities, and MSIX packaging. Note this property is enabled by default when `UseUwp` is enabled.
103103
- **EnableMsixTooling**: Enables single-project MSIX support (no separate packaging project needed)
104-
- **PublishAot**: Enables Native AOT compilation (required for Microsoft Store publication)
104+
- **PublishAot**: Enables Native AOT compilation
105105
- **DisableRuntimeMarshalling**: Optimizes performance for Native AOT scenarios
106106

107107
## Migrating Existing UWP Apps to Modern .NET
@@ -111,7 +111,7 @@ To migrate an existing UWP app from [.NET Native](index.md) to modern .NET:
111111
### Step 1: Update Project File
112112

113113
1. Convert your existing .csproj to SDK-style format
114-
2. Add the required properties (`UseUwp`, `EnableMsixTooling`, `PublishAot`)
114+
2. Add the required properties - `UseUwp`, `EnableMsixTooling`, then `PublishAot` or `SelfContained`
115115
3. Update NuGet package references to versions compatible with the latest .NET
116116

117117
### Step 2: Address Native AOT Compatibility
@@ -146,7 +146,7 @@ The following can be set in library projects:
146146
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.
147147

148148
> [!TIP]
149-
Use `[GeneratedBindableCustomProperty]` classes that need `{Binding}` in XAML. These classes should be marked as `partial`.
149+
> Use `[GeneratedBindableCustomProperty]` on classes that need `{Binding}` in XAML. These classes should be marked as `partial`.
150150
151151
### Step 3: Test Thoroughly
152152

0 commit comments

Comments
 (0)