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, verify that the path is correct and try again.
At line:1 char:1
+ Enable-Migrations –EnableAutomaticMigrations
hatası ile karşılaşıyorum. Çözümü nedir ?
Tools > Library Package Manager > Package Manager Console sekmesine tıklayarak açılan ekrana aşağıdaki komutu yazın :
Install Package EntityFramework -IncludePrerelease
Daha sonra Visual Studio'yu tekrar başlatın. Enable-Migrations –EnableAutomaticMigrations komutunu tekrar girdiğinizde çalışacaktır.
Hiç yorum yok:
Yorum Gönder