Search code examples
c#visual-studio-2010wcfdatacontract

issue recognising DataContract in WCF


Having a bit of trouble understanding why visual studio isn't acknowledging the DataContract and DataMembers as they should be. I have the reference and namespace using statement for System.Runtime.Serialization in the project. If anyone has run into this I'd sure appreciate some help.

enter image description here


Solution

  • strange, still didnt figure out WHY this was happening, but I removed the refrence to System.Runtime.Serialization.dll in the project refrences and re-added it and now everything works