-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
So i tried to use RocksDbSharp in a AoT published project today and it didn´t work.
Looked at the code, and yes makes sense, as it emits the IL to call into the native shared objects during runtime, so that won´t work :)
.NET 9.0 we will have AssemblyBuilder.DefinePersistedAssembly see dotnet/runtime#97177
AssemblyBuilder.Save(...) see dotnet/runtime#97015 and dotnet/runtime#92975
So maybe with .NET 9.0 the wrapper arround the native shared object can be pre-generated into IL during build-time and AOT should work?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels