मैंने हाल ही में .NET कोर 1.0 आरसी 2 स्थापित किया है, और मुझे पता है कि कमांड डीएनएक्स dotnet.exe कमांड में बदल गया है, लेकिन मुझे पता है कि मुझे नया ईएफ 7 कैसे बनाया जा सकता है माइग्रेशन फ़ाइल। जो कुछ भी मैं "डॉटनैट एफई" कमांड कोशिश मैंईएफ 7 .NET कोर 1 आरसी 2 एड-माइग्रेशन असफल
dotnet : No executable found matching command "dotnet-ef"
At line:1 char:1
+ dotnet ef
+ ~~~~~~~~~
+ CategoryInfo : NotSpecified: (No executable f...and "dotnet-ef":String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
और कुछ इसी तरह मिलता है, अगर एक वी.एस. पुनश्च कंसोल डायन के भीतर से "एड-प्रवासन" कमांड की कोशिश मुझे दे इस:
Add-Migration : The term 'Add-Migration' 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
+ Add-Migration
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-Migration:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
मैं बिना किसी परिणाम के 3 घंटे के बाद googling हूँ।
मुझे लगता है कि एक पैकेज गुम है।
क्या कोई यहां सफलतापूर्वक एक नया ईएफ 7 माइग्रेशन क्लास बनाया है। आरसी 2 स्थापित करने के बाद?
लिंक टूटा हुआ है। –
मैंने इस पोस्ट को कम किया क्योंकि लिंक टूटा हुआ है। कृपया ठीक करें और मैं वृद्धि करूंगा। –