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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -