entity framework core - How to run add and run EF7 migrations using old project type -


i trying use ef7 old project type (csproj)

if run add-migration in package manager, complains cannot find package entityframework. guess looking ef6 entityframework project, since such project not exist anymore? how can force use ef7 add-migration cmdlet?

i have tried running ef commands dnx in "wrap" folder, seems needlessly complicated , doesn't work (it cannot find framework dependencies @ all)

any ideas?

have installed entityframework.commands? https://www.nuget.org/packages/entityframework.commands

also, using ef6 , ef7 in same solution going cause problems. it's probable add-migration failed because running ef6 command. check if command use-dbcontext exists, new ef7.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -