efcore
efcore copied to clipboard
Call to public SqliteConnection() in Xamarin.Forms UWP app causes unhandled exception
File a bug
Application type: Xamarin.Forms
Call to public SqliteConnection() from Xamarin.Forms UWP app causes unhandled exception. The same call works fine on iOS and Android.
Stack trace
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Data.Sqlite.Utilities.ApplicationDataHelper.GetFolderPath(String propertyName) in /_/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs:line 42
### Version information
Microsoft.Data.Sqlite version: 6.0.0
Microsoft.NETCore.UniversalWindowsPlatform version: 6.2.13
Xamarin.Forms version: 5.0.0.2244
Xamarin.Forms.UWP: Target version: Windows 10, version 1903 (Build 18362)
Microsoft Visual Studio Enterprise 2019 Version 16.11.7
Target framework: Microsoft .NET Framework Version 4.8.04084
Operating system: Windows 10 Enterprise Version: 10.0.19043 Build 19043
Duplicate of #26574.