Interestingly, EntityFramework.dll and System.Data.Entity.dll have something in common and that they are different? My project references System.Data.Entity.dll (June CTP) to use the first code model, and everything works fine.
Now I want to use the First First Migrations tool, and it needs to add EntityFramework.dll, which I also need to add to my project. However, when both libraries are mentioned (EntityFramework.dll and System.Data.Entity.dll), I get a lot of compiler errors, claiming that some classes are defined in both libraries.
When I remove EntityFramework.dll, the project compiles again, but I cannot use Migrations. When it only refers to EntityFramework.dll, I get complier errors telling me that some classes were not found (for example, a spatial data type).
What should I do in this situation? Thank you in advance!
Alex Avrutin Oct 25 2018-11-21T00: 00Z
source share