Skip to content

Does Maui Support NativeAOT Now? #29263

@ismlsmile

Description

@ismlsmile

Description

According to the article: https://devblogs.microsoft.com/dotnet/dotnet-9-performance-improvements-in-dotnet-maui/

it says: "NativeAOT is not yet supported on Android, but is available on iOS, MacCatalyst, and Windows."

But I could not find any articles or documents to show how to config my project to publish to nativeaot on windows. I could only find something about iOS and MacOS: https://learn.microsoft.com/en-us/dotnet/maui/deployment/nativeaot?view=net-maui-9.0

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

10.0.0-preview.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions