[英]Visual Studio 2015 and Entity Framework Migrations not working
We are using Visual Studio 2015 Update 1 and Entity Framework 6.1.3. 我们正在使用Visual Studio 2015 Update 1和Entity Framework 6.1.3。 Also we are following the Code-First approach and are using Entity Framework Migrations to respond to schema changes.
另外,我们正在遵循“代码优先”方法,并且正在使用“实体框架迁移”来响应架构更改。 Since updating to Visual Studio 2015, some fellow developers can not add any Entity Framework Migrations.
自从更新到Visual Studio 2015以来,一些其他开发人员无法添加任何实体框架迁移。 When executing 'Add-Migration', Entity Framework does not find any migrations in the project and asks you to turn on migrations.
在执行“添加迁移”时,Entity Framework在项目中找不到任何迁移,并要求您打开迁移。
Anyone experienced a similar issue and knows a solutions? 任何人都遇到过类似的问题并且知道解决方案吗? Many thanks in advance!
提前谢谢了!
We were able to determine the root cause and fix the issues. 我们能够确定根本原因并解决问题。
Issues: 问题:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.