We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
AssemblyBuilder.DefinePersistedAssembly
AssemblyBuilder.Save(...)
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?
The text was updated successfully, but these errors were encountered:
That sounds quite interesting - will need some changes on how the library integration works. If you're interested in giving it a try let me know!
Sorry, something went wrong.
No branches or pull requests
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#97177AssemblyBuilder.Save(...)
see dotnet/runtime#97015 and dotnet/runtime#92975So 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?
The text was updated successfully, but these errors were encountered: