当尝试使用asp.net核心这个命令进行脚手架时
scaffold-dbcontext “Data Source=(local);Initial
Catalog=MyDb;Integrated Security=True;”
Microsoft.EntityFrameworkCore.sqlserver -outputdir Models
给出了这个错误.
scaffold-dbcontext : The term ‘scaffold-dbcontext’ 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
+ scaffold-dbcontext “Data Source=(local);Initial Catalog=MyDB;In …
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (scaffold-dbcontext:String) [],CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
知道原因/治疗方法是什么吗?