I\'m trying to use my \'context\' object in a using statement. It works on one project, but on another, I\'m getting the following error.
\'...\': type u
This is an older question, but since I found it via a Google search:
I've experienced this while working with a website that worked without issue in Visual Studio 2010.
There's something odd about Visual Studio 2012 and Entity Framework; adding EF to an existing project causes EF 5.0 to be installed (NuGet package), with no option to stick with 4.0.
A comment on this answer to a linked question is what made the realization pop.
Solution seems to be upgrade to the EF version that VS 2012 uses, or use VS 2010.