Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio XSD Tool: Generate Collections Rather Than Arrays

I generated some C# classes from an XSD using the Visual Studio XSD utility and it generated arrays for storing a collection of elements, rather than one of the built-in generic Collection<T> (or related) classes.

None of the command line parameters mentioned in xsd /? mention anything about generating collections rather than arrays, but I know that this can be done with web service proxy classes that Visual Studio generates, so I figured it must be possible.

Does anybody know how to have the XSD utility generate collection classes rather than arrays?

like image 926
senfo Avatar asked Mar 08 '09 15:03

senfo


1 Answers

Found this post when searching for an answer. I'm using this tool: http://xsd2code.codeplex.com/

like image 64
neblinc1 Avatar answered Sep 22 '22 05:09

neblinc1