I have added a Class Library to my solution so that I can use Work Authentication on my ASP.Net Core site. I have been able to add a migration and update database from the PM console. However i am unable to use dotnet -ef. Upon running the site I am greeted when an unhandled exception occurred and when researching the issue there is very little to be found, in order to solve it.
Any advice in order to remedy the situation would be much appreciated, I am happy to give extra detail, as I'm not sure whether the detail that I have give is sufficient.