Skip to content

Commit

Permalink
Fix sqlite3.dll not found. #180
Browse files Browse the repository at this point in the history
  • Loading branch information
RupertAvery committed Jan 12, 2024
1 parent 486387d commit c06293c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Diffusion.Database/Diffusion.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<ItemGroup>
<None Update="dlls\path0.dll">
<None Update="e_sqlite3.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Diffusion.Database/SQLite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4556,7 +4556,7 @@ public enum ConfigOption : int
Serialized = 3
}

const string LibraryPath = "sqlite3";
const string LibraryPath = "e_sqlite3";

#if !USE_CSHARP_SQLITE && !USE_WP8_NATIVE_SQLITE && !USE_SQLITEPCL_RAW
[DllImport(LibraryPath, EntryPoint = "sqlite3_threadsafe", CallingConvention=CallingConvention.Cdecl)]
Expand Down
Binary file added Diffusion.Database/e_sqlite3.dll
Binary file not shown.

0 comments on commit c06293c

Please sign in to comment.