Incompatible with Microsoft.EntityFrameworkCore.Sqlite nuget
See original GitHub issueI’m using SQLite as the database for my app. So I installed Microsoft.EntityFrameworkCore.Sqlite
version 3.1.7 nuget & ran the project (Blazor Server App) which caused following exception:
System.MissingMethodException: Method not found: 'System.String SQLitePCL.raw.sqlite3_column_name(SQLitePCL.sqlite3_stmt, Int32)'.
Without
Microsoft.EntityFrameworkCore.Sqlite
, Hangfire works perfectly.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Microsoft.EntityFrameworkCore.Sqlite 7.0.10
Version Downloads Last updated
8.0.0‑preview.7.23375.4 2,750 13 days ago
8.0.0‑preview.6.23329.4 9,344 a month ago
8.0.0‑preview.5.23280.1 10,498 2 months ago
Read more >Why can't I install Microsoft.EntityFrameworkCore.Sqlite?
The command Install-Package Microsoft. EntityFrameworkCore. Sqlite will try to install the last version. Currently, the last version is 7.0.
Read more >Nuget error: Package Microsoft.EntityFrameworkCore 5.0.1 ...
Hello, if I try to update to Package Microsoft.EntityFrameworkCore ... EntityFrameworkCore 5.0.1 is not compatible with netcoreapp3.1 #23867.
Read more >'EntityFramework.Core.Tools' nuget package installation error
While installing the package Microsoft.EntityFrameworkCore.Tools for using EF in my project using Nuget, I'm persistently running into the ...
Read more >How Can I Install Microsoft.EntityFrameworkCore.Sqlite in ...
I'm trying to install SQlite from Nuget but I got an error. I'm using NET Core 2.1. What should I do? Microsoft.EntityFrameworkCore.Sqlite 3.0.0 ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have discovered the solution. Adding
<PackageReference Include="sqlite-net-pcl" Version="1.7.335" />
to my csproj solved the issue. There was just a version mismatchSo as not to break compatibility with those who are still using .net 4.5