Replies: 1 comment 2 replies
-
See discussions at #102048. NativeAOT compiled dll doesn't have most of CLR components. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I did a few quick tests loading a (very simple) NativeAOT libarary (
[UnmanagedCallersOnly]
entrypoints) in a .NET (console) host program:Everything worked; still I'm wondering if there are any known issues.
The reason why I'm asking is the (old) thread #12018 about hosting multiple CLRs side-by-side. E.g. this comment indicates issues with well-known names, "globally non-versioned named Win32
HANDLE
s", etc.Also I'm concerned about running the .NET GC multiple times in the sample process. Any possible conflicts there?
Bonus question: Are there any other known issues than the documented unsupported static libraries/library unloading and the general AOT limitations? (I'm wondering if I missed some docs.)
Beta Was this translation helpful? Give feedback.
All reactions