-
Notifications
You must be signed in to change notification settings - Fork 932
Description
Hello, we're trying to use SQLite20Driver with NHibernate to talk to... well SQLite.
It works fine an x64 machine, but gives the following error at runtime on Windows arm64:
----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
----> System.DllNotFoundException : Unable to load DLL 'SQLite.Interop.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)
at FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
NHibernate depends on System.Data.Sqlite which only supports x86 and x64.
From what I could find there is another nuget package called Microsoft.Data.Sqlite that might be an easy drop in replacement and hopefully work on arm64 machines too?
The Microsoft documentation compares System.Data.SQLite to Microsoft.Data.SQLite...
Is anybody else stuck trying to talk to SQLite on an arm64 machine?