Could not load file or assembly 'EntityFramework' after downgrading EF 5.0.0.0 --> 4.3.1.0

entity-framework

Question

I opted to downgrade to EF 4.3.1.0 after quickly upgrading to EF 5.0.0.0 RC and being left with a.NET 4.5 project that wouldn't deploy to Windows Azure (.NET 4.0 and lower).

I'm not sure how to go about doing this kind of migration the best way, but my plan is to utilize "Manage NuGet Packages" to find out which projects reference the package, uncheck it from each project, install the replacement, and then verify the right projects.

Unfortunately, this caused my solution to throw the aforementioned "FileLoadException."

Could not load file or assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral,        
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's 
manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I looked through the solution files, especially packages.config, but I couldn't discover any references to EF 5.0.0.0 RC.

1
33
7/31/2012 9:20:06 PM

Accepted Answer

ZZZ_tmp
43
7/31/2012 9:20:06 PM

Popular Answer

ZZZ_tmp


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