Adding “System.Data.SQLite” as a reference

♀尐吖头ヾ 提交于 2019-12-04 05:11:18
Jojo Sardez

Try to search for System.Data.SQLite.DLL file (using windows explorer search) or if you have not yet installed it just download it from the net.

For more information try to read this.

You get it (as a dll), then add a reference to it.

download here

for example install to C:\Program Files\SQLite.NET and browse to:

C:\Program Files\SQLite.NET\bin

I found that the best way to do this is to enter the following into the Package Manager Console:

Install-Package System.Data.SqLite

For those folks that downloaded SQLite but can't get the DLL to show up in VS2010:

I've downloaded the latest SQLite build for my environment, but I still couldn't get the DLL to show up under References> Add Reference> .Net tab.

To fix this, I went into the Add Reference Window and selected the Browse Tab and just browsed to the DLL file in the install directory\bin folder. Now it shows up fine.

You need to download System.Data.SQLite, then you can add it to your project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!