3

I'm using a service reference (the xsd visual studio tool) to generate a a cs (Reference.cs) in order to serialice and deserialice some classes but I need use System.Xml.Serialization instead System.Runtime.Serialization. how can i archieve this? I've been trying with some advanced options "like reuse types in referenced assemblies" and uncheck options but nothing.

Thanks in advance.

MirlvsMaximvs
  • 1,453
  • 1
  • 24
  • 34

1 Answers1

4

From the documentation

/serializer:XmlSerializer

Generates data types that use the XmlSerializer for serialization and deserialization. Short Form: /ser:XmlSerializer

Ben Robinson
  • 21,601
  • 5
  • 62
  • 79