启用迁移时在Nuget package manager中给出错误

启用迁移时在Nuget package manager中给出错误,nuget,nuget-package,Nuget,Nuget Package,我正在用EF5.0开发MVC应用程序,我正在尝试从Nuget安装DBMigration包,但它给出了一个错误 PM> Enable-Migrations No context type was found in the assembly 'DBMigrationEXP'. PM> Enable-Migrations No context type was found in the assembly 'DBMigrationEXP'. 包管理器中的项目下拉列表需要选择包含DbCont

我正在用EF5.0开发MVC应用程序,我正在尝试从Nuget安装DBMigration包,但它给出了一个错误

PM> Enable-Migrations
No context type was found in the assembly 'DBMigrationEXP'.
PM> Enable-Migrations
No context type was found in the assembly 'DBMigrationEXP'.

包管理器中的项目下拉列表需要选择包含DbContext的项目