Skip to content

PublicAot=true for debug mode #12406

Description

@jonathanpeppers

Android framework version

net11.0-android (Preview)

Affected platform version

.NET 11

Description

We should follow what a dotnet new console app does in Debug mode when you set PublisAot=true:

  • AOT analyzers run
  • All trimmer switches are set to be "NativeAOT-like"
  • The app runs on CoreCLR

So, you have to either be Release or _IsPublishing=true to actually run on NativeAOT.

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions