Skip to content

Commit 0ee2efc

Browse files
Apply review suggestion: also mention Microsoft.Data.Sqlite and Microsoft.Data.Sqlite.Core in SpatiaLite warning
Agent-Logs-Url: https://github.com/dotnet/EntityFramework.Docs/sessions/e3a1eee9-5517-4432-8afd-9eaa2cbe4397 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
1 parent 2e84385 commit 0ee2efc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entity-framework/core/providers/sqlite/spatial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ brew install libspatialite
2424
Unfortunately, newer versions of PROJ (a dependency of SpatiaLite) are incompatible with EF's default [SQLitePCLRaw bundle](/dotnet/standard/data/sqlite/custom-versions#bundles). You can work around this by using the system SQLite library instead.
2525

2626
> [!IMPORTANT]
27-
> Don't use `Microsoft.EntityFrameworkCore.Sqlite` with SpatiaLite on macOS and Linux. That package depends on `Microsoft.Data.Sqlite`, which brings in `SQLitePCLRaw.bundle_e_sqlite3`—a bundled version of SQLite that is incompatible with system-installed SpatiaLite. Using it may result in a silent crash at run time. Use `Microsoft.EntityFrameworkCore.Sqlite.Core` instead, together with the system SQLite provider as shown below.
27+
> Don't use `Microsoft.EntityFrameworkCore.Sqlite` or `Microsoft.Data.Sqlite` with SpatiaLite on macOS and Linux. Those packages depends on `Microsoft.Data.Sqlite`, which brings in `SQLitePCLRaw.bundle_e_sqlite3`—a bundled version of SQLite that is incompatible with system-installed SpatiaLite. Using it may result in a silent crash at run time. Use `Microsoft.EntityFrameworkCore.Sqlite.Core` or `Microsoft.Data.Sqlite.Core` instead, together with the system SQLite provider as shown below.
2828
2929
Replace `Microsoft.EntityFrameworkCore.Sqlite` with `Microsoft.EntityFrameworkCore.Sqlite.Core` and reference the `SQLitePCLRaw.provider.sqlite3` package to use the system SQLite library:
3030

0 commit comments

Comments
 (0)