A constructible type deriving from DbContext could not be found in the selected file (EF Power Tools Beta 3/Visual Studio 2012)
问题 I'm trying to use the "View Model" feature of the EF Power Tools Beta 3 as heavily depended on by Julie Lerman within Visual Studio 2012. I originally had the " sequence contains no matching element " problem many people seem to have encountered. The solution in the above article is an acceptable workaround that fixes the problem. I'm now encountering the second error: "A constructible type deriving from DbContext could not be found in the selected file" The proposed cause of the problem in