I am getting a strange error after trying to compile under 2010. The compiler doesn't seem to understand my [DataMember] attribute:
error CS0246: The type or namespace name 'DataMember' could not be found (are you missing a using directive or an assembly reference?)
Shouldn't this all be defined in System.Runtime.Serialization?
Any insight would be very much appreciated.