VS2013 Debugger + Entity Framework: “runtime has refused to evaluate the expression”, crashes

前端 未结 5 1420
小鲜肉
小鲜肉 2020-12-29 19:04

I\'m experiencing a lot of problems with Entity Framework 6.0.1 in the VS2013 Ultimate debugger when debugging into unit tests against code that\'s hitting a live SQL Server

5条回答
  •  梦谈多话
    2020-12-29 19:30

    I am having a similar problem and although I'm yet to understand why, turning Options -> Debugging -> General -> Use Managed Compatibility Mode - On, allowed me to continue debugging as normal.

    I found this option via this blog post.

提交回复
热议问题