I have a Asp.netCore app.
I set its output to an exe.
I then compile it like so:
dotnet publish -r win-arm
I then open the network share on my Raspberry Pi running Windows 10 IoT.
I copy all the contents inside my published folder on desktop to a folder on my raspberry pi.
I then use powershell to start this exe off.
I then browse to the Raspberry Pis Ip address from my desktop.
my pages load fine.
If I now navigate to a page that I know will get records from my sqlite db I get this error:
Reading the error tells me (i think) I am using the wrong dll.
At present I am using the Dlls for Sqlite that I used on a previous uwp app that I also deployed to the raspberry pi box (and that worked).
I have Googled and it told me to use the uwp dlls. All I can think of it is because I compiled it using the arm switch I need to use a sqlite dll when using this on the Pi box.
Am I right and if so where can I get a arm sqlite dll?
if I am wrong what should I do?
Also I am using .netcore 2.1
These are the libaries I am using:
thanks
UPDATE.
Following Rita's answer I got a different error which is this:



SQLitePCLRaw.bundle_greenNuGet package instead of SQLite libs / VS extensions if your min version at least equal to 16299. This will attempt to load the version of SQLite that is shipped with Windows itself (and hence should work on ARM IoT... if it's actually included in the IoT versions D;) rather than a version you ship with your app.SQLitePCLRaw.CoreandSQLitePCLRaw.provider.winsqlite3.uwp10, and then callingSQLitePCL.raw.SetProvider(new SQLite3Provider_winsqlite3());before doing anything with SQLite. However that might not work because you're not in UWP. There's also a .NET 4.5 version of it, but no .NET Core package =[