[sqlite] No Sqlite.dll for VS 2015 C# console application

2015-12-18 Thread Drago, William @ CSG - NARDA-MITEQ
Is System.Data.SQLite.dll in your bin folder along with the x86, x64 folders 
and corresponding SQLite.Interop.dll files?

--
Bill Drago
Staff Engineer
L3 Narda-MITEQ
435 Moreland Road
Hauppauge, NY 11788
631-272-5947 / William.Drago at L-3COM.com

> -Original Message-
> From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-
> users-bounces at mailinglists.sqlite.org] On Behalf Of Nils Westerberg
> Sent: Friday, December 18, 2015 3:51 AM
> To: sqlite-users at mailinglists.sqlite.org
> Subject: [sqlite] No Sqlite.dll for VS 2015 C# console application
>
> Hello,
> I have a Universal app with SQLite using sqlite-net and referencing
> SQLite for Universal App Platform that works. I am using VS 2015 update
> 1, Windows 10.
> I am trying to make a console application using sqlite-net but I cannot
> find a valid reference to SQLite. I have installed SQLite for Universal
> Platform, for Windows Runtime and for Windows Runtime (8.1) via Visual
> Studio Tools.Extensions and Updates... The References.Add Reference...
> does not show any SQLite Package as it does for the Universal app.
> I used References.Manage NuGet Packages to install System.Data.SQLite
> which updated the references. Running the application gives: "Unable to
> load DLL sqlite3: The specified module could not be found."I have tried
> to reference SQLite in other downloads from ??System.Data.SQLite but I
> get the same error.
>
> Adding sqlite3.dll to the load path gives: "Unable to load DLL sqlite3:
> This operation is only valid in the context of an app container."
> What can I do?  I have asked the question on Microsoft Developer
> Network as I thought to be more a VS problem but a moderator (Fred Bao)
> suggested that I ask the SQLite forum.
>
> Nils
> ___
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
CONFIDENTIALITY, EXPORT CONTROL AND DISCLAIMER NOTE:This e-mail and any 
attachments are solely for the use of the addressee and may contain information 
that is privileged or confidential. Any disclosure, use or distribution of the 
information contained herein is prohibited. In the event this e-mail contains 
technical data within the definition of the International Traffic in Arms 
Regulations or Export Administration Regulations, it is subject to the export 
control laws of the U.S.Government. The recipient should check this e-mail and 
any attachments for the presence of viruses as L-3 does not accept any 
liability associated with the transmission of this e-mail. If you have received 
this communication in error, please notify the sender by reply e-mail and 
immediately delete this message and any attachments.


[sqlite] No Sqlite.dll for VS 2015 C# console application

2015-12-18 Thread Nils Westerberg
Hello, 
I have a Universal app with SQLite using sqlite-net and referencing SQLite for 
Universal App Platform that works. I am using VS 2015 update 1, Windows 10.
I am trying to make a console application using sqlite-net but I cannot find a 
valid reference to SQLite. I have installed SQLite for Universal Platform, for 
Windows Runtime and for Windows Runtime (8.1) via Visual Studio 
Tools.Extensions and Updates... The References.Add Reference... does not show 
any SQLite Package as it does for the Universal app.
I used References.Manage NuGet Packages to install System.Data.SQLite which 
updated the references. Running the application gives: "Unable to load DLL 
sqlite3: The specified module could not be found."I have tried to reference 
SQLite in other downloads from ??System.Data.SQLite but I get the same error. 

Adding sqlite3.dll to the load path gives: "Unable to load DLL sqlite3: This 
operation is only valid in the context of an app container."
What can I do?? I have asked the question on Microsoft Developer Network as I 
thought to be more a VS problem but a moderator (Fred Bao) suggested that I ask 
the SQLite forum. 

Nils


[sqlite] No Sqlite.dll for VS 2015 C# console application

2015-12-18 Thread J Decker
you'll need system.data.sqlite.dll not just sqlite3.dll.
I prefer to use the static version so system.data.sqlite.dll contains
the sqlite3.lib so it's standalone other than the runtime used.  (I've
sometimes had to copy msvc*d.dll (debug version) because I'm sometimes
lazy and know that it has worked under debug mode)

On Fri, Dec 18, 2015 at 12:51 AM, Nils Westerberg  wrote:
> Hello,
> I have a Universal app with SQLite using sqlite-net and referencing SQLite 
> for Universal App Platform that works. I am using VS 2015 update 1, Windows 
> 10.
> I am trying to make a console application using sqlite-net but I cannot find 
> a valid reference to SQLite. I have installed SQLite for Universal Platform, 
> for Windows Runtime and for Windows Runtime (8.1) via Visual Studio 
> Tools.Extensions and Updates... The References.Add Reference... does not show 
> any SQLite Package as it does for the Universal app.
> I used References.Manage NuGet Packages to install System.Data.SQLite which 
> updated the references. Running the application gives: "Unable to load DLL 
> sqlite3: The specified module could not be found."I have tried to reference 
> SQLite in other downloads from ??System.Data.SQLite but I get the same error.
>
> Adding sqlite3.dll to the load path gives: "Unable to load DLL sqlite3: This 
> operation is only valid in the context of an app container."
> What can I do?  I have asked the question on Microsoft Developer Network as I 
> thought to be more a VS problem but a moderator (Fred Bao) suggested that I 
> ask the SQLite forum.
>
> Nils
> ___
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users