diff --git a/Intersect.Editor/Core/Database.cs b/Intersect.Editor/Core/Database.cs index d5a432d36d..bd97a49528 100644 --- a/Intersect.Editor/Core/Database.cs +++ b/Intersect.Editor/Core/Database.cs @@ -1,6 +1,6 @@ using Intersect.Configuration; using Intersect.Editor.Configuration; -using Mono.Data.Sqlite; +using Microsoft.Data.Sqlite; namespace Intersect.Editor.Core; @@ -64,7 +64,7 @@ public static void InitMapCache() Directory.CreateDirectory("resources"); } - SqliteConnection.SetConfig(SQLiteConfig.Serialized); + // Note: Microsoft.Data.Sqlite handles thread safety internally, no need to set serialized mode if (!File.Exists(DB_FILENAME)) { CreateDatabase(); diff --git a/Intersect.Editor/Forms/frmMain.cs b/Intersect.Editor/Forms/frmMain.cs index 7bd671cf1d..3e2c92a1ee 100644 --- a/Intersect.Editor/Forms/frmMain.cs +++ b/Intersect.Editor/Forms/frmMain.cs @@ -21,6 +21,7 @@ using Intersect.Localization; using Intersect.Network; using Intersect.Utilities; +using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using WeifenLuo.WinFormsUI.Docking; diff --git a/Intersect.Editor/Intersect.Editor.csproj b/Intersect.Editor/Intersect.Editor.csproj index 03197b3fd1..ab120f9253 100644 --- a/Intersect.Editor/Intersect.Editor.csproj +++ b/Intersect.Editor/Intersect.Editor.csproj @@ -70,7 +70,7 @@ - +