Hi,
I am working with XSD.exe vs.net command line util. I have an XSD that I am trying to use to generate classes with. However, the XSD references another schema and the XSD.exe is having trouble finding the referenced schema. Does anyone have an example of what the command line params would be so that the tool is aware of all schemas? Does the tool have trouble with the XSD lines:
xmlns:r="somewhere.files.referencedxsd"
<xs:import schemaLocation=".\referencedxsd.xsd" namespace="somewhere.files.referencedxsd" />
<xs:element ref="r:ReferencedRootNode"/>
The above lines are used for the reference to the referenced XSD, and the tool gives me the following error:
"Error: Error generating classes . . . The element somewhere.files.referencedxsd:ReferencedRootNode is missing"
Any ideas or help? Much appreciated.
Mike
___
Newsgroups brought to you courtesy of www.dotnetjohn.com