What do we need to do for NativeAOT? To investigate next: - [ ] `dotnet publish` doesn't work, `dotnet build` _does_ work - [ ] `dotnet new maui` template stopped working in main at some point List of TODOs: - [x] `dotnet new android && dotnet publish -p:PublishAot=true` - https://github.com/dotnet/android/pull/9760 - [x] `dotnet new maui` runs: https://github.com/dotnet/android/pull/9747 - [x] Parse Android system properties like `debug.mono.log`, to disable `lref/gref` logging - https://github.com/dotnet/android/pull/9824 - [ ] Setup an alternative to `monodroid_log()` for NativeAOT - [x] MSBuild warning for non-Mono runtimes, that says "experimental" - https://github.com/dotnet/android/pull/9834 - [x] Default `$(PublishAotUsingRuntimePack)=true`, and see what xamarin/xamarin-macios does - https://github.com/dotnet/android/pull/9815 - [ ] Get Mono.Android-Tests running on NativeAOT - https://github.com/dotnet/android/pull/9846 - [ ] Mono-specific startup settings like Timezone notifications, unhandled exceptions - [x] System.Threading.Tasks SyncContext: https://github.com/dotnet/android/pull/9883 - [ ] Solve all NativeAOT trimmer warnings - [ ] https://github.com/dotnet/android/issues/10672 - [ ] statically link `libc++_shared.so` - [ ] Warning/error if trying to use binding library that still uses `JNINativeWrapper.CreateDelegate (...)`? - [ ] Investigate if there is an issue with "incremental deploy", where it doesn't install the `.apk` - [ ] Enable `$(VerifyReferenceAotCompatibility)`: * https://github.com/dotnet/runtime/pull/118180
What do we need to do for NativeAOT?
To investigate next:
dotnet publishdoesn't work,dotnet builddoes workdotnet new mauitemplate stopped working in main at some pointList of TODOs:
dotnet new android && dotnet publish -p:PublishAot=trueMicrosoft.Android.Runtime.NativeAOT.dll#9760dotnet new mauiruns: [WIP] turn NativeAOT sample into a .NET MAUI app #9747debug.mono.log, to disablelref/grefloggingmonodroid_log()for NativeAOT$(PublishAotUsingRuntimePack)=true, and see what xamarin/xamarin-macios does$(PublishAotUsingRuntimePack)=true#9815SynchronizationContext#9883libc++_shared.soJNINativeWrapper.CreateDelegate (...)?.apk$(VerifyReferenceAotCompatibility):