找不到与命令“ dotnet-ef”匹配的可执行文件
我正在通过将ASP.Net Core RC2与Microsoft.EntityFramework.CoreSQLite一起使用来做项目示例。 我遵循了本教程:https : //damienbod.com/2015/08/30/asp-net-5-with-sqlite-and-entity-framework-7/ 但是,当我运行以下命令时: dotnet ef migrations add FirstMigration 我收到此错误: No executable found matching command "dotnet-ef" 这是我的project.json配置: { "dependencies": { "Microsoft.NETCore.App": { "version": "1.0.0-rc2-3002702", "type": "platform" }, "Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final", "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0-rc2-final", "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final", "Microsoft.Extensions.Logging": "1.0.0-rc2-final", "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final", "Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final", "Microsoft.EntityFrameworkCore": "1.0.0-rc2-final", …