我们正在忙着将我们的解决方案迁移到MVC,拥有所有最新和最好的东西,但是在我不敢触及的大量意大利面条中有很多扭曲的逻辑。受影响的项目正在逐步重写,但同时需要将其纳入新的解决方案中。
OldSpaghettiMonster
+ Depends on EntityFramework 4.0.0
FancyMvcSite
+ Depends on OldSpaghettiMonster
+ Depends on EntityFramework 6.x
+ Lots of other neat and tidy business layer stuff
当我在新的FancyMvcSite中添加对OldSpaghettiMonster的引用时,我得到一个警告,我需要添加对EF 4.0.0的引用..处理这种情况的“正确方法”是什么?