Error finding Appsettings.json when connecting via parameterless constructor? v6 EFCore3

I have a class library that acts as a datalayer to access a SQL database. with that DLL I also have a appsettings.json file with the connection string. I have the LinqPad connection set to use a parameterless constructor and the connection string points to my appsettings.json but the error message that pops when I try to test the connection is a file not found message and says that it can not find the appsettings.json file in the installation path of LinqPad...



Shouldn't it be looking where I pointed it to?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!