Skip to content

Can't use the SQLite20Driver on windows arm64 #3699

@bounav

Description

@bounav

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions