“Execute Code First Migrations” checkbox disappeared from my publish profile

前端 未结 6 713
逝去的感伤
逝去的感伤 2020-12-15 23:17

I\'m using web deploy to deploy an MVC4 application using EF5 code first. I made a publish profile called \"development\" that uses web deploy for application and database u

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-16 00:18

    This happened to me in VS2013. Neither cleaning the solution, nor restarting it worked. I tried to "re-enable" migrations and it worked. Even though I got an error message that migrations have already been enabled in project, the "Execute Code First Migrations" checkbox appeared again.

提交回复
热议问题