Answered by:
SQLite on IOT

Question
-
I have a problem getting a library used on the Raspberry PI to work with SQLite.
I created a Universal WIndows App, it has no problem running on the Pi.
I also created a Portable Library, it references
SQLite.NET
SQLite.NET.Async
SQLite.NET.Platform.WinRT
This library is refrerenced by the App
Creating the SQLite database results in a DLL not found exception, which I figured must be the sqlite3.dll for ARM. But both the portable classlibary (only allows Any CPU) and the universal app (set to ARM in the configuration) wont allow the reference to SQlite3.dll
What am I doing wrong?
Thanks
Ben
- Edited by Ben Geerdes Thursday, December 31, 2015 1:22 PM
Thursday, December 31, 2015 1:21 PM
Answers
-
Andy Wigley is the go to guy for SQLite on the IoT Pi. There is a link to his stuff on the Unofficial FAQ over on the Raspberry site that I maintain. It's also on Channel 9 in you look and his blog.
riclh
- Proposed as answer by riclh Thursday, December 31, 2015 1:53 PM
- Marked as answer by IoTGirlMicrosoft employee Friday, July 22, 2016 7:09 PM
Thursday, December 31, 2015 1:52 PM
All replies
-
Andy Wigley is the go to guy for SQLite on the IoT Pi. There is a link to his stuff on the Unofficial FAQ over on the Raspberry site that I maintain. It's also on Channel 9 in you look and his blog.
riclh
- Proposed as answer by riclh Thursday, December 31, 2015 1:53 PM
- Marked as answer by IoTGirlMicrosoft employee Friday, July 22, 2016 7:09 PM
Thursday, December 31, 2015 1:52 PM -
Thanks
He indeed got the same error, did not want to find out what was causing it and wrote his own.. unfortunately on a pre RTM version of visual studio, so I still haven't found a solution. Could not get his code to work either,
Friday, January 1, 2016 8:10 PM -
Have you tried the code on Github? https://gist.github.com/ChrisBriggsy/f08aae8a7aa48b1b2dc5Friday, May 27, 2016 10:40 PM
-
http://igrali.com/2015/05/01/using-sqlite-in-windows-10-universal-apps/ if you need help to install itMonday, May 30, 2016 7:13 AM
-
Did you install SQLite? This brings the missing dll to the Windows extensions.
You can get it from here. Here is a good explanation.If all this is done, you can add a reference to SQLite for Universal App Platform, which is the missing dll.
Wednesday, June 8, 2016 9:10 AM