DbContent and Model Types From Referenced Project Not In List In Add Controller Window

Jul 5, 2012 at 2:26 PM

I have a project with my content and model types. I'm referencing (via NuGet) the prerelease version of EF. I'm using EF4 DbContext code generation templates. The MVC 4 project (which has all NuGet references to the nightly builds) is referencing (via NuGet) the release version of EF. When I attempt to add a Controller or a View, the DbContext and model types from the referenced project are not in the list in the Add ... window. Any ideas as to why this would be? Thanks!

Jul 5, 2012 at 2:31 PM

Solved. Both projects needed to be on the prerelease of EF.