Включение-миграция консоли диспетчера пакетов CommandNotFoundException только в конкретном проекте VS
Я попытался запустить команду «Enable-Migrations». в новом проекте и я получил сообщение:
<code>PM> Enable-Migrations The term 'Enable-Migrations' 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, verif y that the path is correct and try again. At line:1 char:18 + Enable-Migrations <<<< + CategoryInfo : ObjectNotFound: (Enable-Migrations:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException </code>
Но во всех других проектах команда работает просто отлично.
Почему это происходит?
Кстати, я использую VS2010 Professional SP1
EDIT: Я переустановил с коммандой:Install-Package EntityFramework -IncludePrerelease и проблема ушла.