Unable to load DLL 'sqlite3': The specifie

2019-01-18 08:30发布

I am currently using SQLite for Windows Forms but while running the project it is showing the error:

Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I had added the DLL of System.Data.SQLite.dll but it is showing the same error. Please can any one help me by giving the perfect answer regarding this problem? Thanks in advance

标签: sqlite3
13条回答
Viruses.
2楼-- · 2019-01-18 09:13

I had exactly the same problem for the UWP project in a Xamarin.Forms application. Adding reference to "SQLite for Universal Windows Platform" to the UWP project solved the problem. enter image description here

查看更多
太酷不给撩
3楼-- · 2019-01-18 09:16

I had the same issue when I downloaded the latest sqlite provider and I tried a solution from here but it didnt work, hence I downloaded the earlier version and its works fine.

查看更多
forever°为你锁心
4楼-- · 2019-01-18 09:18

Especially if you've updated to Visual Studio 2015 RTM and are developing Universal Windows apps, try uninstalling the SQLite for Universal App Platform extension and reinstalling (see http://sqlite.org/download.html).

查看更多
霸刀☆藐视天下
5楼-- · 2019-01-18 09:26

Use Project "Add Existing Item" and select the sqlite3.dll "As link". Click OK. Choose DLL in project and set "Copy Local" value to True.

查看更多
对你真心纯属浪费
6楼-- · 2019-01-18 09:26

In my case I'm working on a UWP project. I had to add a reference to Visual C++ 2015 Runtime for Universal Windows Platform Apps and the error was gone. It can be added in the Reference Manager under Universal Windows > Extensions. Detailed solution can be found here.

查看更多
手持菜刀,她持情操
7楼-- · 2019-01-18 09:29

This should fixed my issue. Add the following dll's.

enter image description here

查看更多
登录 后发表回答