I am trying to create a migration on an ASP.NET 5 / EF 7 project. In project.json I have:
"dependencies": {
"EntityFramework.Commands": "7.0.0-rc1-final"
// Other dependencies
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel --server.urls=http://localhost:5000",
"ef": "EntityFramework.Commands"
}
I ran "dnx ef migrations add 'Start'" on Developer Command Prompt inside the project folder and the migration was created without a problem ...
When I run "ef migrations add 'Start'" on Package Manage Console I get:
"ef : The term 'ef' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
I have no idea why I get this error ... The project.json seems fine ...
Am I missing some step here?