Could not load file or assembly 'EntityFramework, Version=6.0.0.0

.net asp.net c# entity-framework visual-studio

Accepted Answer

The older dll is most likely present in the build since the Main project most likely has a reference to an earlier Entity Framework version. Make sure that all projects that are using the problematic project have the new reference

4
9/21/2015 10:22:03 PM

Popular Answer

Had a similar problem, and after a lot of effort I used Nuget to remove EF then add it back in, clean the project, and rebuild it.

So easy and effective, at least for me!



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow