Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Microsoft.Data.Sqlite.Core/SqliteConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ static SqliteConnection()
{
// Ignore the unpackaged-app "no package identity" case; ApplicationData.Current is unavailable there.
}
catch (Exception ex) when (ex is NotImplementedException or NotSupportedException)
{
// Ignore when WinRT APIs aren't implemented or supported (e.g., running under Wine)
// ApplicationData.Current is unavailable there.
}
Comment thread
AndriySvyryd marked this conversation as resolved.

if (currentAppData != null)
{
Expand Down
Loading