I try to use System.Runtime.Serialization.DataContractSerializer, but I get a compiler error:
"The type or namespace 'DataContractSerializer' does not exist in the namespace 'System.Runtime.Serialization' "
What could be causing this error?
Add reference to System.Runtime.Serialization assembly in 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