Entity Framework Code First Enable-Migrations Hatası

.NET Kategorisine bug ile başlamak istemezdim ama malesef mecbur kaldım.

Entity Framework 6.1.3 ‘te  aşagıdaki gibi bir hata ile karşılaşıyorsanız. Şu linkten patch dosyasını indirin ve EntityFramework/tools altına kopyalayın.

https://github.com/aspnet/EntityFramework/issues/1949

Umarım faydalı olmuştur.

Executing script file 'D:\helloworld\packages\EntityFramework.6.1.3\tools\install.ps1'...
Initialize-EFConfiguration : The term 'Initialize-EFConfiguration' 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 c
orrect and try again.
At D:\helloworld\packages\EntityFramework.6.1.3\tools\install.ps1:3 char:1
+ Initialize-EFConfiguration $project
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Initialize-EFConfiguration:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s