Adding "System.Data.SQLite" as a reference

when I built my project made in asp.net and C # .net, it generated an error like

"The type or name of the SQLite namespace does not exist in the System.Data namespace (do you miss the assembly reference?"

therefore, when I tried to add it as a reference, I could not find "System.Data.SQLite" in my library. how to overcome this problem.?

+7
system.data.sqlite
source share
5 answers

Try searching for the System.Data.SQLite.DLL file (using the Windows Explorer search) or if you have not installed it yet, just download it from the network.

For more information, try reading this .

+4
source share

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

download here

for example, install in C: \ Program Files \ SQLite.NET and select:

C: \ Program Files \ SQLite.NET \ bin

+7
source share

For those people who load SQLite but cannot get the DLL to display in VS2010:

I downloaded the latest version of SQLite for my environment, but I still could not get the DLL to appear in the Links> Add Link> .Net section.

To fix this, I went into the add links window and selected the "Browse" tab and just looked at the DLL file in the \ bin installation directory. Now it looks fine.

+3
source share

I found that the best way to do this is to enter the following into the package manager console:

Install-Package System.Data.SqLite 
+3
source share

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

0
source share

All Articles