0

I have a project that uses the NuGet package System.Data.SQLite for accessing the DB.

At compile time all works fine, but at runtime when I initialize the connection this error occurs:

System.DllNotFoundException: SQLite.Interop.dll

I have tried to install the NuGet package System.Data.SQLite.Core but nothing changed.

How can I solve this? Anyone has found this error too?

Thank you!

Tyler2P
  • 2,324
  • 26
  • 22
  • 31
Murali
  • 1

1 Answers1

0

I have checked the tags and the dependency of the package, it seems the package doesn't support Xamarin. In addition, there were two existed case which had the same problem. You can check this two case.

Both of them used the Microsoft.Data.SQLite instead of the System.Data.SQLite. So you can also choose to use this package.

Liyun Zhang - MSFT
  • 8,271
  • 1
  • 2
  • 14