Open waltergrimmvie opened 1 year ago
I have the exact same problem! Tried 1.7 and 1.8 of sqlite-net-pcl and also tried different version of SQLitePCLRaw.provider.dynamic_cdecl. Same error (but different version in the error message of course).
This worked again on android after adding SQLitePCLRaw.provider.dynamic_cdecl separatly. But why do we need to do that?
HI, I updated Xam to Maui. I have used the sqlite-net-pcl as defined in https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/database-sqlite
If I add the version 1.6 of sqlite-net-pcl the, it will run in Emulator Emulator.
It will not work in Windows App.
NOW: if I upgrade to the most current version 1.8, it will work in Windows app, but Maui will give me the error as defined in the attached screenshot.
System.IO.FileNotFoundException: ‘Could not load file or assembly ‘SQLitePCLRaw.provider.dynamic_cdecl, Version=2.0.4.976, Culture=neutral, PublicKeyToken=b68184102cba0b3b’ or one of its dependencies.’
Can you please help