Possible solution from StackOverflow:
Try setting the Build Action property of the source DLLs to None

On Tue, Jul 5, 2016 at 1:18 PM, Shouwei Li <cas...@gmail.com> wrote:

> Hi, guys,
>
> Thank you very much for your reply.
>
> Just make a conclusion, I followed the solution provided in this link, and
> my program could be run on any PC now.
> https://rashimuddin.wordpress.com/tag/sqlite-interop-dll/
>
> But another issue comes out now, I always get this warning when build the
> whole solution.
>
> 1>C:\Program Files
> (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3506,5):
> warning MSB3178: Assembly 'SQLite\System.Data.SQLite.dll' is incorrectly
> specified as a file.
>
> It not affect the final release program, but I don't know how it comes from
> and how to eliminate it.
>
> Thank you!
>
>
>
> On Tue, Jul 5, 2016 at 9:37 AM, Chris Locke <ch...@chrisjlocke.co.uk>
> wrote:
>
> > You might need something like Microsofts Process Monitor.
> >
> >
> https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx?f=255&MSPPError=-2147217396
> >
> > I was getting similar 'red herrings' when deploying my .exe and
> > system.data.sqlite.dll - it was moaning that it couldn't load the DLL.
> > Indeed it couldn't, as it also needed msvcr100.dll, which wasn't on the
> > users machine.  This only came to light when I used the above program and
> > noticed the error produced when it was looking for the file that wasn't
> > there....
> >
> >
> > Chris
> >
> > On Tue, Jul 5, 2016 at 4:59 AM, dandl <da...@andl.org> wrote:
> >
> > > Did you mean: SQLite.Intero.dll or SQLite.Interop.dll?
> > >
> > > Did you put it in the right place?
> > >
> > > Also consider the question of 32 vs 64 bit.
> > >
> > > Did you try Stack Overflow? There are lots of hits over there.
> > >
> > > Regards
> > > David M Bennett FACS
> > >
> > > Andl - A New Database Language - andl.org
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: sqlite-users-boun...@mailinglists.sqlite.org [mailto:
> > sqlite-users-
> > > > boun...@mailinglists.sqlite.org] On Behalf Of J Decker
> > > > Sent: Tuesday, 5 July 2016 12:57 PM
> > > > To: SQLite mailing list <sqlite-users@mailinglists.sqlite.org>
> > > > Subject: Re: [sqlite] Question about C# with SQLite
> > > >
> > > > if it was built with debug mode; probably the debug runtime doesn't
> > exist
> > > > there.  Otherwise it's because the visual studio runtime required
> isn't
> > > > available.
> > > >
> > > > On Mon, Jul 4, 2016 at 6:52 AM, Shouwei Li <cas...@gmail.com> wrote:
> > > >
> > > > > Hi there,
> > > > >
> > > > > I have a project developed with .net 2015 and C#. I use SQLite as
> the
> > > > > server-less database. It works very well in my workstation. But it
> > can
> > > > > not run on other PC. The error indicates:
> > > > >
> > > > > Unable to load DLL "SQLite.Intero.dll": The specified module could
> > not
> > > > > be found.
> > > > >
> > > > > I already attach this dll with my program.
> > > > >
> > > > > I want to ask is there a manual talk about how to deploy a program
> to
> > > > > customer when we use the SQLite database.
> > > > >
> > > > > Thanks for your reading.
> > > > >
> > > > > --
> > > > > Best Regards!
> > > > > Shouwei Li
> > > > > _______________________________________________
> > > > > sqlite-users mailing list
> > > > > sqlite-users@mailinglists.sqlite.org
> > > > >
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> > > > >
> > > > _______________________________________________
> > > > sqlite-users mailing list
> > > > sqlite-users@mailinglists.sqlite.org
> > > > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> > >
> > > _______________________________________________
> > > sqlite-users mailing list
> > > sqlite-users@mailinglists.sqlite.org
> > > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> > >
> > _______________________________________________
> > sqlite-users mailing list
> > sqlite-users@mailinglists.sqlite.org
> > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> >
>
>
>
> --
> Best Regards!
> Shouwei Li
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to