I am using Microsoft.EntityFrameworkCore.Sqlite version 2.2.4 Microsoft.EntityFrameworkCore version 2.2.4 nuget packages on my .net core class library.
When adding my class library to Console application I am getting the following exception: FileNotFoundException: Could not load file or assembly 'SQLitePCLRaw.core, Version=1.1.12.351, Culture=neutral, PublicKeyToken=1488e028ca7ab535'. The system cannot find the file specified.
My code is running on windows but will also run on Linux.
Is there any solution?
I saw a recommendation for adding Microsoft.EntityFrameworkCore.Sqlite nuget to my console application. but I prefer avoiding this solution.