Reputation: 11
I use svcutil.exe (or dotnet-svcutil in newer projects) for generate service API from xsd and wsdl. The choice
element in the xsd generate ItemChoiceType
in the generated classes.
If I used more choice
elements in xsd, svcutil generate ItemChoiceType
, ItemChoiceType1
, ItemChoiceType2
etc.
But when I regenerate API, sometimes the numbering of ItemChoiceType
is changed. If I use some assignment of ItemChoiceType
in code, the code couldn't be translated, because it is another type.
Is there an option to keep numbering? Thanks
Upvotes: 1
Views: 165