EDN Admin
Well-known member
<p align=left><font face=Arial size=2>I may be way off base here but it looks like xsd.exe is supposed to create an xsd file from a class within a VB dll. When I run xsd I get the following error: Warning: Cannot generate schemas because no suitable types were found.</font>
<p align=left>I have the <font size=2>System.Xml.Serialization.XmlRootAttribute on the class definition and the following imports. <font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml </font><font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml.Schema </font><font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml.Serialization</font>
<p align=left><font size=2>Im sure Im missing something elementary but I have spent hours searching and found nothing helpful
Is there a sample of the specific decorations that are needed for xsd to recognize and use the class? Or, let me know if this just isnt the correct way to do it. I have several existing classes and was hoping there was an automated way to get the xsd.
<p align=left>
<p align=left>Thanks
<p align=left></font></font>
View the full article
<p align=left>I have the <font size=2>System.Xml.Serialization.XmlRootAttribute on the class definition and the following imports. <font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml </font><font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml.Schema </font><font color="#0000ff" size=2>
Imports</font><font size=2> System.Xml.Serialization</font>
<p align=left><font size=2>Im sure Im missing something elementary but I have spent hours searching and found nothing helpful
Is there a sample of the specific decorations that are needed for xsd to recognize and use the class? Or, let me know if this just isnt the correct way to do it. I have several existing classes and was hoping there was an automated way to get the xsd.
<p align=left>
<p align=left>Thanks
<p align=left></font></font>
View the full article