c# - MVC Scaffolding Not Loading Models or Context -


i have new project in i've referenced class library model creation. i've added connection string database contains information need pull models , have created , 'area' applications config.

when attempt scaffold controller 'brands' class i've referenced, models drop down contains bundleconfig, routeconfig etc. , not models i'm looking , context drop down empty though should contain applicationcontext generated when generating new mvc project.

so far i've tried folowing:

  • updating visual studio
  • uninstalling , re-installing entity framework , mvc scaffold
  • starting visual studio in safe mode
  • re-referencing 'brands'

so i'm not sure causing issue. can shed light on @ all?

turns out cannot reference dll file , use scafolding. have import project not reference. fixed problem.


Comments