Adding "System.Data.SQLite" as a reference

subash picture subash · Mar 8, 2010 · Viewed 31.6k times · Source

when I was building my project done in ASP.NET and C#, it produced the following error:

The type or namespace name 'SQLite' does not exist in the namespace 'System.Data' (are you missing an assembly reference?"

So, when I tried to add it as a reference, I was not able to find "System.Data.SQLite" in my library.

How do I overcome this problem?

Answer

CRice picture CRice · Mar 8, 2010

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