entity framework - add-migration causing a "Could not load assembly" error -


here's looking at

pm> add-migration addedsubdivion -startupprojectname data -verbose using startup project 'data'. using nuget project 'registry'. not load assembly 'registry'. (if using code first migrations inside  visual studio can happen if startup project solution not  reference project contains migrations. can either change startup  project solution or use -startupprojectname parameter.) 

i have no idea why it's trying reference registry project. registry depends on data, not other way around. new this, i'd appreciate help.

this embarrassing, maybe out googler in future.

at top of "package manager console" default project set wrong project. changing models project fixed it.

enter image description here


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -