I have a dll which comes from a third party, which was written in C++. Here is some information that comes from the dll documentation:
//start documentation
We had this problem when we want to access to DB and solved it by changing EF core to EF 6.4.4 It may be you have a problem like this and need to change or downgrade your version of EF (If you used EF)