EF Core Driver cannot load netstandard or one of its dependencies

I created a .NET Full Framework class library using EF Core v 2.2.1 and downloaded the EF Core driver v 2.x for Linqpad 5 (5.36.03), and when I point Linqpad at the corresponding DLL, I get the following error message:

Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependenceis. The system cannot find the file specified.

I have clicked the 'Restore nuGet Dependencies' and it gives me the message 'No NuGet dependencies detected'.

Any help?

Comments

  • I'm trying to 'Add connection', in case that wasn't clear. =)
  • Solved: I posted a similar question on SO, and somebody advised me to target framework version 4.7.2 for the class library, and that fixed it.
  • Thanks for posting the solution.
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!