While i open .EDMX in Visual Studio 2012 means when i click on it, it gives me error like:
The namE attribute is not supported in this context.
and the same error i get in other application/projects also, this happen only with edmx file not other files. Can anyone give me solution for this?
I am using
EntityFramework 6.0version instead of 5.0.I fixed it by downloading the dll of
EntityFramework 5.0and remove reference ofEntityFramework 6.0in my Project and give it again reference ofEntityFramework 5.0 dlland finally clean and rebuild the project which solved my problem.Still if anyone get error just try to repair
VisualStudioand still give you an error just reinstall/new-install your visual studio by running the setup.