The type or namespace name 'ObservableCollection' could not be found

asp.net c# entity-framework

Question

I am working with Entity Framework in asp.net c# framework 3.5 I have generated entity classes using poco generator template. But I am getting following error:

The type or namespace name ObservableCollection could not be found (are you missing a using directive or an assembly reference?)

FYI System.Collections.ObjectModel is also added in class.

What could be wrong? How to resolve it?

1
14
7/13/2011 8:49:25 PM

Popular Answer

Add WindowsBase to your reference.

17
4/6/2012 12:16:50 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow