Hi,
I have used XSD.exe to create a schema and then use that schema to create .cs file for my project.
Here is the list of steps performed at VS command prompt:
Code:
>xsd <myfile.xml>
this generated the xsd file.
> xsd <myfile.xsd> /C
this generated one .cs file
XSD.exe works as documented, but the issue I have is that it generates many classes.
In my case the .cs file had 8 partial classes.
Is there a way to tell XSD to create only one class?
Regards.