1.xsd generating C # class commands
Example: XSD <xsd file path >/c/o:< generate CS file directory > < other parameters >
Parameter description:
/c is generated as CS file,/D generates a dataset (only one type of generated file, either use/C, or/d, and required)
/o Generate file directory (non-file path)
< other parameters > If you have introduced additional XSD in the XSD, you need to add all the file paths of the associated XSD that are introduced , each file path separated by a space
2.WSDL generating C # class commands
Example: WSDL <wsdl file path > /si /o:< Generate cs file path > < other parameters >
Parameter description
/SI generates an interface for a service that generates an interface for each binding in the WSDL document
/o path to the generated file
< other parameters > If you have introduced additional XSD files in the WSDL, you need to add all the associated XSD file paths that are introduced, each file path separated by a space
How to use command-line tools for XSD, WSDL generation C # classes