As a native developer targeting Android, iOS, or wasm, I would like to use a shared library containing custom managed code plus the mono runtime so that I can call into managed functions from my native application. The library should take the same approach as NativeAOT, only exporting the symbols from managed functions decorated with [UnmanagedCallersOnly(EntryPoint = "")].
As a native developer targeting Android, iOS, or wasm, I would like to use a shared library containing custom managed code plus the mono runtime so that I can call into managed functions from my native application. The library should take the same approach as NativeAOT, only exporting the symbols from managed functions decorated with
[UnmanagedCallersOnly(EntryPoint = "")].[UnmanagedCallersOnly(EntryPoint = "")][mono] Export unmanagedcallersonly method symbols #79424 ✅
[android][ios] Add LibraryBuilder task to support aot library mode #81919 ✅
[Mono]: Add support for lazy runtime init in native-to-managed wrapper, similar to NativeAOT library build. #82253 ✅
[tasks] Add auto runtime initialization template to LibraryBuilder #83050 ✅
[mono] Introduce designated direct pinvokes to mono aot compiler #79721 ✅