I have a old module in DotNetNuke. I used EF 5 in my project:
I added module to DotNetNuke and it worked properly. But when I add new module that requierd to EF 6 my module gives me an error:
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.
When installing this new module EntityFramework 6 dll file will be replaced with old version (Version=5.0.0.0) file and this causes old module doesn't work.
I read many post for solving this problem but I can't find a way for this issue.
It would be very helpful if someone could explain solution for this problem.