Próbowałem uruchomić polecenie „Enable-Migrations” w nowym projekcie i otrzymałem komunikat:
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
Ale we wszystkich innych projektach polecenie działa dobrze.
Dlaczego to się dzieje?
BTW, używam VS2010 Professional SP1
EDYCJA: Ponownie zainstalowałem za pomocą polecenia: Install-Package EntityFramework -IncludePrerelease i problem zniknął.