Masoud
Masoud

Reputation: 8211

why when i want use EF Power tools for view my model i get error?

Im using EF Code first and i generate my model by "EF 4.x DbContext Fluent Generator for c#" extension in vs2010. but when i want to view my Entity model via EF Power tools i get this error:"Sequence Contains no matching element". is there any idea?

Upvotes: 3

Views: 1770

Answers (1)

NSGaga
NSGaga

Reputation: 14312

It's a bit too late and not sure if this would help but for others and historic reasons...

I had the same issue (with Beta 3 - and .NET 4/2010/EF5 etc.) - the solution was relatively simple.
I just moved out the project from the 'solution directory' into the root of the solution.

I 'learned' that trick from dealings with 'migrations' and PM console - it wouldn't work if you have a lib (entities) - and your startup/executable - while any of the two is in a solution dir somewhere.

Upvotes: 3

Related Questions