CONFIGURATION

Native AOT

Ahead-of-time native compilation at publication, with runtime feature restrictions.

Formal Syntax & Structure

csharp syntaxcsharp
PublishAot

Working Example

Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.// Project setting: <PublishAot>true</PublishAot>
C# & .NET Reference