Error : The EntityFramework package is not installed on project

后端 未结 2 674
醉梦人生
醉梦人生 2021-01-12 05:00

I\'ve just installed SQL Server 2008, configured my ASP.NET MVC 4 project to be deployed at Local IIS and have added a new connection to a database which have been created a

相关标签:
2条回答
  • 2021-01-12 05:23

    In Package Manger Console you have Default project dropdown list. Check that you select MonitoringN project in it and not the MonitoringN.Tests project.

    0 讨论(0)
  • 2021-01-12 05:26

    In the Package Manager Console, choose the default project to the your project which has dbcontext. If this is set incorrectly, you will get The EntityFramework package is not installed on project 'x'. Change the dropdown to your EF project.

    This worked for me.

    0 讨论(0)
提交回复
热议问题