I'm doing some WCF work and I don't see why I run into this error.
System.Runtime.Serialization.DataContractAttribute
doesn't exist in the namespace
System.Runtime.Serialization
The microsoft documentation clearly shows this hierarchy
System.Object
System.Attribute
System.Runtime.Serialization.ContractNamespaceAttribute
Anyone knows what is going on?
Make sure you have added reference to the System.Runtime.Serialization
assembly to your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With