How can I stop Add-Migration checking my database has no pending migrations when using Code-Based migrations?

后端 未结 2 684
情话喂你
情话喂你 2020-12-19 07:07

I\'m investigating using Code-Based EF Migrations for a product that does not use EF. Everything generally works well, except that the command:

Add-         


        
2条回答
  •  一整个雨季
    2020-12-19 07:57

    I was seeing this error until I deleted from the Solution the original auto-generated migration code that the Package Manager had initially created.

    This would have been 201206260845338_DannyTest.cs in Danny's case.

提交回复
热议问题