Hello,

Yeah that is what I did in the interim to get it to work.
The issue being my company does not believe in the DLLs being in a lib folder 
inside a project.
Instead they have a Library folder at the same level of the solution file, and 
everything is added by ref.
So unless I add it by ref I have to break company coding standards.
Unless it is in the bin, SQLite errors saying it cannot find the interop.
Guess I could add it to the GAC but that also breaks my companys coding 
standards.

Isn't it odd that I cannot just add it as a ref?

A reference to 'C:\...\SQLite.Interop.dll' could not be added. Please make sure 
that the file is accessible, and that it is a valid assembly or COM component.

Permissions are also ok, user has access to modify/read/etc.

Thanks,

Brad

-----Original Message-----
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Joe Mistachkin
Sent: Thursday, July 21, 2011 6:29 PM
To: 'General Discussion of SQLite Database'
Subject: Re: [sqlite] Cannot add interop assembly


You should not need to add the interop assembly (i.e. SQLite.Interop.dll) as
an actual "reference"; however, you may want to add it as a "content" file
to your project and set it to be copied to the project output directory.
You will want to add a reference to the [managed] "System.Data.SQLite"
assembly instead.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to