Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Upgraded from VS 2017 to VS 2019 and now my Forms based app cannot create SQLite database

$
0
0

Hi,
I have a Xamarin forms based app using SQLite 3 (Microsoft.Data.Sqlite) which works fine in Visual Studio 2017. I installed Visual Studio 2019 (side by side) and tried compiling and debugging the app on my Android device and I get the following error calling Sqlite.SqliteConnection's constructor.
What's changed in the Xamarin project config? I'm opening the SAME project + source code using Visual Studio 2017 and it works fine.

Exception:

"The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception." at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)

Inner Exception:

"{System.DllNotFoundException}"


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>