entity framework - Package Manager Console Enable-Migrations CommandNotFoundException only in a specific VS project -


i tried run command 'enable-migrations' in new project , got message:

pm> enable-migrations term 'enable-migrations' not recognized name of cmdlet, function, script file, or operable program. check spelling of name, or if path included, verif y path correct , try again. @ line:1 char:18 + enable-migrations <<<<      + categoryinfo          : objectnotfound: (enable-migrations:string) [], commandnotfoundexception     + fullyqualifiederrorid : commandnotfoundexception 

but in other projects command runs fine.

why happening?

btw, i'm using vs2010 professional sp1

edit: reinstalled commmand: install-package entityframework -includeprerelease , problem went away.

just re-starting visual studio worked me. no need install packages, etc.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -