मैंने एक नए प्रोजेक्ट में कमांड 'Enable-Migrations' चलाने की कोशिश की और मुझे संदेश मिला:
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
लेकिन अन्य सभी परियोजनाओं में कमांड ठीक चलता है।
ये क्यों हो रहा है?
BTW, मैं VS2010 व्यावसायिक SP1 का उपयोग कर रहा हूं
संपादित करें: मैंने कमोड के साथ पुनः इंस्टॉल किया : इंस्टाल-पैकेज एंटिटीफ्रेमवर्क -इन्क्लूडप्रिलेज और समस्या दूर हो गई।