diff --git a/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs b/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs index 0e6e824110a..2f58adb011b 100644 --- a/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs +++ b/src/Microsoft.Data.Sqlite.Core/Utilities/ApplicationDataHelper.cs @@ -26,6 +26,7 @@ public static string? LocalFolderPath try { return Type.GetType("Windows.Storage.ApplicationData, Windows, ContentType=WindowsRuntime") + ?? Type.GetType("Windows.Storage.ApplicationData, Microsoft.Windows.SDK.NET") ?.GetRuntimeProperty("Current")!.GetValue(null); } catch