-
Notifications
You must be signed in to change notification settings - Fork 13
Description
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.)