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.

4

1 回答 1

3

文档

/序列化器:XmlSerializer

生成使用 XmlSerializer 进行序列化和反序列化的数据类型。短格式:/ser:XmlSerializer

于 2013-10-11T09:35:56.503 回答