Missing DLL when trying to link Linqpad to my EF context

143 Views Asked by At

I'm trying to use Linqpad to read from my EF classes. We are using EF 3.1 due to compatibility issues to the rest of the solution.

In Lingpad version 5 and higher it will only link to "Entity Framework (DbContext V4/V5/V6). So now I'm trying Linqpad 4, but the error is the same as with Linqpad 5.

It complains that Microsoft.Bcl.AsyncInterfaces DLL cannot be found. I have removed and added the Bcl DLL but still it complains.

Any other suggestions?

enter image description here

From csproj file:

<ItemGroup>
    <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
      <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
    </Reference>
1

There are 1 best solutions below

1
Alex Doucette On

Have you tried downloading the "Microsoft.Bcl.AsyncInterfaces" NuGet package separately? You can download it from the NuGet website or use a package manager like NuGet Package Manager Console in Visual Studio.

Try Install-Package Microsoft.Bcl.AsyncInterfaces -Version 1.1.0

You could also try finding the Microsoft.Bcl.AsyncInterfaces.dll and copying it to the Linqpad installation folder. The installation folder is typically located in "C:\Program Files (x86)\LINQPad4" or a similar path.