I am using VS 2012 (Ultimate) along with Entity Framework Power Tools Beta 2 and entity framework 5.0 (using nuget).
I created a DbContext class. When I right-click on the corresponding file in the solution explorer and select "Entity Framework / View Entity Data Model (read-only)", I get the error message "Unable to find constructive type from DbContext in the selected file." bug in VS 2012.
I tried the workaround described at http://blogs.msdn.com/b/adonet/archive/2012/04/09/ef-power-tools-beta-2-available.aspx but my registry does not contain the key " {BFC24BF4-B994-4757-BCDC- 1D5D2768BF29} "in" HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 11.0_Config \ BindingPaths \ ".
After restarting the visual studio and the next steps, a dialog box opens that indicates that "The exception was selected as the target of the call."
BTW. I can run my test application, which creates a database from my DbContext, and O can insert / delete / etc data in this database.
Any help / tips would be greatly appreciated.
Regards, Merijn
source
share