System.DllNotFoundException: Unable to load shared library 'SQLite.Interop.dll'

Hi, has the Get Started been tested on a M1 Mac using the arm64 .net framework?

I’ve added the feature RDBMS - SQLite and getting error message

Unhandled exception. System.DllNotFoundException: Unable to load shared library ‘SQLite.Interop.dll’ or one of its dependencies.

Is there way to get it working?

Thanks

You should use Microsoft.Data.Sqlite provider for Apple M1:

<PackageReference Include="ServiceStack.OrmLite.Sqlite.Data" Version="6.*" />
2 Likes