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

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -