I recently upgraded from Entities Framework 5 to Entities Framework 6 Alpha 2 and I am getting the following error:
Method not found: \'System.Data.Ob
I'm also using EF 6
.
I managed to solve the problem uninstalling the package Microsoft.AspNet.Providers.Core v. 1.2. I'm using version 1.1 instead. If you're like me and is using LocaDb
, you'll have to uninstall the LocaDb
package because it depends on that package. Of course you'll have to reinstall LocaDb again...
You can grab v. 1.1 using the NuGet Package Manager Console inside Visual Studio:
Install-Package Microsoft.AspNet.Providers.Core -Version 1.1
There's a Microsoft Connect bug filled regarding this issue:
Microsoft.AspNet.Providers.Core incompatible with EF6