You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
Item 3 on the readme says:
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.)
The text was updated successfully, but these errors were encountered: