Can anyone spot why I keep getting this error testing the EF 5 beta

后端 未结 4 1781
死守一世寂寞
死守一世寂寞 2020-12-01 20:52

Installed visual studio 11 beta as wanted to test EF 5 beta but keep hitting this an error.

Method not found: \'Void System.Data.Objects.ObjectContext

4条回答
  •  温柔的废话
    2020-12-01 21:19

    I solved this problem removing the policy:

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\policy.4.0.system.data.entity\v4.0_0.0.0.0__b77a5c561934e089\policy.4.0.system.data.entity.config

    Which had this information: ... bindingRedirect oldVersion="4.0.0.0" newVersion="4.2.0.0" ...

    Hope it helps Rui

提交回复
热议问题