For a little background:
I have a DLL project with the following structure:
Rivworks.Model (project)
\\Negotiation (folder)
Model.edmx
I had a same problem in my asp.net website, to resolve the problem I purposely added compile time error in one of the cs file in the app code by removing a semicolon, then I rectified the compilation problem by adding semicolon again.
This process caused application to compile again.After this error got vanished.