I have added a ADO.Net Entity Data Model in my website and named it WebSocketModel. Thus, all of its code has been generated inside the name space WebSocketModel inside the App Code folder.
But now I am unable to reference this namespace. I need to use the context classes created inside this namespace to fire LINQ queries.
I tried to reference the namespace through the using WebSocketModel; statement inside my web form but am getting the error
The type or namespace name 'WebSocketModel' could not be found
(are you missing a using directive or an assembly reference?)
What is even more perplexing about this error is that whenever I type using intellisense automatically suggests the namespace WebSocketModel. However, later when I build my website, I get the aforementioned error.
.Net 4and the other to.Net 4 Client Profile.