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.
Android framework version
net11.0-android (Preview)
Affected platform version
.NET 11
Description
We should follow what a
dotnet new consoleapp does in Debug mode when you setPublisAot=true:So, you have to either be Release or
_IsPublishing=trueto actually run on NativeAOT.