entity framework core - EF7: "The EntityFramework package is not installed" when it is -


have entered install-package entityframework.commands –pre, when try add-migration initial following error:

the entityframework package not installed on project '…'.

as clue, when try use-dbcontext command, error. here's package manager console session:

pm> install-package entityframework.commands –pre package 'entityframework.commands.7.0.0-rc1-final' exists in project '…' pm> add-migration initial entityframework package not installed on project '…'. pm> use-dbcontext use-dbcontext : term 'use-dbcontext' not recognized name of cmdlet, function, script file, or operable program. check spelling of name, or if path included, verify path correct , try again. @ line:1 char:1 + use-dbcontext + ~~~~~~~~~~~~~ + categoryinfo : objectnotfound: (use-dbcontext:string) [], commandnotfoundexception + fullyqualifiederrorid : commandnotfoundexception

what doing wrong?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -