Make svcutil.exe generate properties without the Order attribute

I use svcutil.exeto create proxy classes from a hosted WebService created by WebSphere that uses Java under the hood.

I use XmlSerializerinstead DataContractSerializerand target Framework v3.5 on VS2010

Proxy classes are generated with the following attribute for each property

[System.Xml.Serialization.XmlArrayAttribute(Order=20)]

How can I tell the utility to suppress parameter creationOrder ?

+4
source share

Source: https://habr.com/ru/post/1542310/


All Articles