c# - SQLite with VS 2010 -


i'm working on project , need use database.i chose sqlite because of easiness use.but im having trouble work.i'm using system.data.sqlite http://sqlite.phxsoftware.com/ when try run program following exception message.i'm coding c# visual studio 2010..

could not load file or assembly 'system.data.sqlite, version=1.0.66.0, culture=neutral, publickeytoken=1fdb50b1b62b4c84, retargetable=yes' or 1 of dependencies. given assembly name or codebase invalid. (exception hresult: 0x80131047)

i dont know why , how handle it.

i have project ready tomorrow , need help...

when add reference system.data.sqlite assembly, make sure set property of "copy local" true:

  1. right click assembly system.data.sqlite
  2. change "copy local" true

this addition of dillie-o's answer should sqlite running on .net v4.0 framework within vs 2010.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -