Saya mencoba menjalankan perintah 'Aktifkan-Migrasi' di proyek baru dan saya mendapat pesan:
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
Tetapi di semua proyek lain, perintah berjalan dengan baik.
Mengapa ini terjadi?
BTW, saya menggunakan VS2010 Professional SP1
EDIT: Saya menginstal ulang dengan perintah: Install-Package EntityFramework -IncludePrerelease dan masalahnya hilang.