Skip to content

Commit 1256f49

Browse files
Adding AOT note to 1.6-exp1 for change in 1.6 stable (#4785)
* Adding AOT note to 1.6-exp1 for change in 1.6 stable * Fixing punctuation
1 parent 7963988 commit 1256f49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hub/apps/windows-app-sdk/experimental-channel.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@ In addition, Windows App SDK managed apps using C#/WinRT should update to [Micro
456456

457457
### Native AOT support
458458

459+
> [!NOTE]
460+
> For Windows App SDK 1.6.0 stable, the following guidance is obsolete. Projects should instead simply set `PublishAot` to **true** unconditionally.
461+
459462
The .NET `PublishAot` project property is now supported for native Ahead-Of-Time compilation. For details, see [Native AOT Deployment](/dotnet/core/deploying/native-aot/). Because AOT builds on Trimming support, much of the following trimming-related guidance applies to AOT as well.
460463

461464
For `PublishAot` support, in addition to the C# project changes described in the previous section you'll also need a package reference to [Microsoft.Windows.CsWinRT](https://www.nuget.org/packages/Microsoft.Windows.CsWinRT) `2.1.0-prerelease.240602.1` (or later) to enable the source generator from that package.

0 commit comments

Comments
 (0)