I made it work by including "Content" files in the Application folder in the Setup project. The setup file installs perfectly now on a clean server. Everything is neat now. :)
Bernhard -----Original Message----- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joe Mistachkin Sent: 16. oktober 2012 16:05 To: 'General Discussion of SQLite Database' Subject: Re: [sqlite] System.Data.SQLite [nuGet] 1.0.82.0 dll issue Bernhard Mogens Ege wrote: > > When building a setup project, the interop dll files are not included > and hence the program will not work when installed. Only the > System.Data.SQLite[.Linq].dll assemblies are included in the setup project. > My answer to this is largely "I don't know" as I have never actually used the Visual Studio "setup" project type. Unfortunately, NuGet does not have official support for including native code with a package, see: https://nuget.codeplex.com/workitem/679 The System.Data.SQLite project uses the "best practices" workaround for this lack of native code support; however, it is not perfect. It relies on treating the native code libraries as "content" and having a small PowerShell script add them to the project file as such. The NuGet package for System.Data.SQLite is only intended to support app-local deployment and in that case it works just fine. Supporting anything more would require extra tooling support from NuGet. -- 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