Reputation: 2541
By Mistake i updated my references and it affected the identity.framework , i did some research and it's totally a new different version and i need to do a lot of things to make it work, so i decided to switch back to version 1.0.0.0 which worked good for me. but now i got this error message:
error 0004: Could not load file or assembly 'Microsoft.AspNet.Identity.EntityFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Upvotes: 0
Views: 1531
Reputation: 2541
After 8 hours troubleshooting this problem i finally figured out what was the problem. The error message is a little misleading , because the problem is not about Microsoft.AspNet.Identity.EntityFramework itself but it was about "one of its dependencies" . it was the EF. i had three projects and each project on the solution has a different version of the EF . 6.0.0,6.0.1 and 6.1.0 i think . I uninstalled all of them and left the version 6.0.0 and it works fine now.
Upvotes: 1