-
Notifications
You must be signed in to change notification settings - Fork 224
Wrong EntityFramework is being loaded at runtime on mono #511
Comments
When running you mean not restoring right? Can you provide a repro project?? |
it seems that restoring correctly,but not use the restore package. |
So this bug title is incorrect, you mean that the wrong EntityFramework is being loaded at runtime. |
oh,I'm sorry. Thanks @davidfowl |
This used to happen to me as well. To work around it you must nuke the mono EF assemblies from the GAC and the lib/mono/4.5 directories. |
The version of the assembly should be different and we aren't passing in the full assembly identity so it might be a problem with how loading works on mono. I'll take a look. |
In my case it happened because mono has EF 6.0 and I am using EF 6.1.1. The assemblies in both cases use the same version metadata. |
when use entityframework7 in mono,rolysn compiler use the old entityframework6 dll in mono's lib folder,it should use kpm downloaded packages.
The text was updated successfully, but these errors were encountered: