I am trying to auto generate some code with svcutil. I have the following within an xsd:
<xs:complexType name="ForsikringstilfelleDetalj">
<xs:sequence>
<xs:element name="detaljID" type="xs:string" minOccurs="0" maxOccurs="1"/>
I then run the following command:
svcutil xx.wsdl yy.xsd /ct:System.Collections.Generic.List`1
I then get the following C# code:
public ForsikringstilfelleDetalj[] forsikringstilfelle
What I wanted was:
public List<ForsikringstilfelleDetalj> forsikringstilfelle
According to the info on the net the /ct option should tell svcutil to use generic lists for collections. Can anyone see what I am doing wrong?