Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages and Documentation #9

Open
exedor opened this issue Dec 22, 2023 · 0 comments
Open

Packages and Documentation #9

exedor opened this issue Dec 22, 2023 · 0 comments

Comments

@exedor
Copy link

exedor commented Dec 22, 2023

Item 3 on the readme says:

Add a NuGET reference to Microsoft.EntityFrameworkCore.Sqlite.Core in your project This is a really important step: DO NOT add a reference to Microsoft.EntityFrameworkCore.Sqlite, otherwise it will not work!

When I did this, it broke both of the EnsureCreated() and Migrate() calls. Both of them would throw exceptions of different kinds depending on the circumstances. The ONLY way I could find around this was to uninstall the Sqlite.Core package and only install the Sqlite package. Encryption still worked just find and I was able to code first migrations.

Your statement may have been true in an earlier version, not sure. Just wanted to make you aware of it. I'm using .NET 8 and EF8 in a project that combines WebAPI/.NET Core and Windows Forms into the same application (sounds like an oxymoron, I know, but there's a good reason for that.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant