Click here to Skip to main content
15,904,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanna be able to access SQLiteDataAdapter in my app so i want know what to reference and library to add... thank in advance
Posted

Hi,

have you checked this package[^]?

One thing to mention is, that you have to copy SQLite.Interop.dll into your output-folder, otherwise your application won't be able to access a SQLite-DB.
 
Share this answer
 
thanks s_mon but when i try to install the system.data.sqlite i get this exception

"
CSS
Successfully installed 'System.Data.SQLite 1.0.88.0'.
Successfully uninstalled 'System.Data.SQLite 1.0.88.0'.
Install failed. Rolling back...
Install-Package : Could not install package 'System.Data.SQLite 1.0.88.0'. You are trying to install this package into a project
that targets '.NETCore,Version=v4.5', but the package does not contain any assembly references that are compatible with that
framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package System.Data.SQLite
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
"

have u encountered this?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900