我创建了 asp.net mvc3 项目,从 nuget 安装实体框架 4.3.1。
下一个
PM> Enable-Migrations
并得到错误:
System.Management.Automation.PSargumentException:找不到类型 [System.Data.Entity.Migrations.MigrationsCommands]:确保已加载包含此类型的程序集。
在 System.Management.Automation.MshCommandRuntime.ThrowTerminatingError (ErrorRecord errorRecord) 中
找不到类型 [System.Data.Entity.Migrations.MigrationsCommands]:确保已加载包含此类型的程序集。