LINQPad 4 unable to find EntityFramework

北慕城南 提交于 2019-12-05 13:19:22

I had the same problem today, this is how I solved it:

Apparently the LINQPad 4.36.3 requires in some way Entity Framework 4.2 :/
It was released last week: ADO.NET blog

What I did is:

  1. Installed EF4.2 via NuGet
  2. Rebuilt the project
  3. Copied all my project .dll files to LINQPad folder (including the 4.2 EF.dll)
  4. I read here that I need to add something to the LINQPad.exe.config file but it was already there..
    [At this point I tried removing that assembly redirect and ran it against my 4.1 dll, did not work, was still looking for 4.2]
  5. Closed VS and uninstalled EF4.1

Thats it, after that both my project is now running on 4.2 and LINQPad works as well.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!