LINQPad 6 Preview: Unable to create database connection

I downloaded the LINQPad 6 preview and am attempting to establish a connection to an EF Core context defined in a .NET Standard 2.0 DLL. I do have a constructor in my DBContext class that takes a connection string parameter. I ran my application and set a breakpoint on that constructor. When the breakpoint was hit, I copied the connection string and pasted it into LINQPad's "Entity Framework DbContext Connection" dialog (that connection string *does* work in my application).

When I test the connection in LINQPad, I get this error message:

Error Testing EF Core Connection: Could not load file or assembly 'System.Data.SqlClient, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

I saw this message referenced in another forum post where the poster said he was attempting to run some kind of script. I'm just trying to establish a connection, using a .NET Standard 2.0 DLL. I don't see how .NET Framework 4.x would be involved in any way in my scenario.

I am clueless as to what to do next. Can someone please help?


Sign In or Register to comment.