mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Crash when using Database #185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HurricanKai on GitHub (Jun 14, 2018).
Just recently started using this project, and after some testing i hoped to base a project on it.
thought, i now added a Db, using the normal DbContext - ensure create way.
but once it reaches EnsureCreated() it simply crashes:
(Attached, too large)
starting it as a normal application, meaning with
dotnet runjust runs the webserver fine.using
dotnet electronize startthought causes this error.Error.txt
sorry for my bad english, woud be great if someone is able to understand why it doest load.
(seems to have something to do with a module called e_sqlite3 but none of the stuff i coud find anywhere else helped.
@paulov-t commented on GitHub (Jun 14, 2018):
I had the same problem. I fixed it by adding the nuget package Microsoft.Data.Sqlite. This comes with the correct DLLs for publishing.
@kwakuduahc1 commented on GitHub (Jun 18, 2018):
While you are at it, add efcore.sqlite to it(
Install-Package Microsoft.EntityFrameworkCore.SqliteNuGet package)