-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
The code works perfectly - thank you. However, when upgrading to .NET Core 2.2.0 the SQLite DB cannot be found:
SqliteException: SQLite Error 14: 'unable to open database file'.
Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(int rc, sqlite3 db)
In addition to compiling I had to set some specific info in the *.csproj files in order to work around compile issues:
<RuntimeFrameworkVersion>2.2.0</RuntimeFrameworkVersion>
<PlatformTarget>AnyCPU</PlatformTarget>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
I also deleted the migrations folder and run the following just to reset the database:
dotnet ef migrations add InitialCreate
dotnet ef database update
The unit tests work - as they are using the in memory DB, but the web site cannot find the players.db file - even though it was created by EF.
Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels