I have a web MVC project with Entity Framework 4.x working fine.
Now I added a class library project in the same solution, and I have mapped different database tables successfully. .edmx is generated. Then I write a simple test class and try to build the this new project. I got error - The namespace name Infrastructure does not exist in a namespace System.Data.Entity ...
I googled it and was said I need a reference to the EntityFramework or need to install EntityFramework. I'm confused, as I already have a web MVC project working, and also .edmx has been built in the new class library project. So EntityFramework should not be a problem...?
What should do to remove this error?
I may need to add a reference to the class library project in the existing web project, so that the web project can use classes defined in the class library project, right?
I appreciate any help.