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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -