Кто еще получает эту ошибку из консоли диспетчера пакетов, когда он/она работает команда «Add-Миграционные Ла»Entity FrameWork 7 (бета 4) Миграции ошибка
add-migration : The term 'add-migration' 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.
Я включал EntityFramework.Commands (для бета4)
NEW EDIT: Это больше похоже на совет. Перед запуском команд kpm вы должны перейти к настройкам диспетчера пакетов и отключить «api.nuget.org». Если нет, вы будете продолжать получать ошибку 400
См http://stackoverflow.com/questions/8678792/ef-data-migrations-does-not-work-after-close-project и Http: //stackoverflow.com/questions/7567657/update-database-error-nuget-package-entityframework-sqlmigrations – coder231
@Bharathi ни один из этих решений не работал грустно – MRainzo
Вы пробовали «k ef migration add»? http://stackoverflow.com/questions/29385736/ef7-commands-do-not-work-in-vs2015-ctp-6 –