question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with Microsoft.EntityFrameworkCore.Sqlite

See original GitHub issue

Description

I want to use Microsoft.EntityFrameworkCore.Sqlite in dotnet maui app. But the app crashes on start on iOS. The error message is:

System.DllNotFoundException Message=e_sqlite3

Steps to Reproduce

Run the repro project on iOS

MauiApp1.zip

Version with bug

Release Candidate 1

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15.4

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
bricelamcommented, Apr 13, 2022

Duplicate of https://github.com/ericsink/SQLitePCL.raw/issues/468?

Have you tried with the latest preview of SQLitePCLRaw? Add this to your project:

<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.0-pre20220318192836" />
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I install Microsoft.EntityFrameworkCore.Sqlite?
The tutorial is about .netCore but in the error message you can see that you created a .netFramework project '.NETFramework,Version=v4.7.2' .
Read more >
Getting error while scaffolding - Microsoft Q&A
Uninstall-Package Microsoft.EntityFrameworkCore.Tools and Reinstall the package. PM> Install-Package Microsoft.EntityFrameworkCore.SqlServer. PM ...
Read more >
Microsoft SQLite error messages on UnRaid : r/jellyfin
EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas.
Read more >
Microsoft.EntityFrameworkCore.Sqlite 7.0.10
Version Downloads Last updated 8.0.0‑preview.7.23375.4 2,449 12 days ago 8.0.0‑preview.6.23329.4 9,013 a month ago 8.0.0‑preview.5.23280.1 10,359 2 months ago
Read more >
Error in creating a table when performing database ...
I fixed it by telling the sqlite where to write the database file by providing the Connection string in my json to look...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found