Anyone who has successfully used the Entity Framework Power Tools Beta 2 to pre-create views with the first EF code?
I get the error "The sequence does not contain matching elements."
My setup is this:
I had the same problem and it was resolved.
Ensure that the MVC web project is set up as a startup project.
EF 4.2.0.0 . DbContext . VS - " EDM : <yourDbContext>! . : <yourDbContext>.Views.cs"
<yourDbContext>
<yourDbContext>.Views.cs
I had the same problem (with Beta 3 - and .NET 4/2010 / EF5, etc.) - the solution was relatively simple.I just moved the project from the "solution catalog" to the root of the solution .
See this other post about using 'generated views .
Displaying a view in Entity using the first EF 5 code
Why, when I want to use EF Power tools to view my model, do I get an error?