Two freeware solutions for producing Classes from XSD !!!
Microsoft's XSD.exe
Capable of using multiple schemas at one pass but too many errors and arrays instead of lists !!!
My path for the xsd.exe...
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\xsd.exe
In case a schema refers to another eg "HeXML-1_5.xsd" refers to "LandXML-1_2.xsd" the syntax should be as following...
xsd.exe LandXML-1_2.xsd HeXML-1_5.xsd /classes /language:vb
https://stackoverflow.com/questions/35285713/vb-net-create-class-from-xsd-and-generate-xml
https://bembengarifin.wordpress.com/2009/07/14/generate-net-class-from-xsd-with-references-to-other-xsd-using-xsd-exe/
XSD2CODE.exe
Not capable of handling multiple schemas at one pass.
Found at https://xsd2code.codeplex.com/
https://stackoverflow.com/questions/9386754/using-xsd2code-with-multiple-schema-files
Finally there is also another guy that ran into the same problems.
https://stackoverflow.com/questions/35658403/error-deserializing-xml-in-c-sharp
Endless corrections leading to...bummer. Hours lost for nothing. Crapware.
Just, do not bother loosing time with them.
Wish i had time to make my own conversion software.
Microsoft's XSD.exe
Capable of using multiple schemas at one pass but too many errors and arrays instead of lists !!!
My path for the xsd.exe...
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\xsd.exe
In case a schema refers to another eg "HeXML-1_5.xsd" refers to "LandXML-1_2.xsd" the syntax should be as following...
xsd.exe LandXML-1_2.xsd HeXML-1_5.xsd /classes /language:vb
https://stackoverflow.com/questions/35285713/vb-net-create-class-from-xsd-and-generate-xml
https://bembengarifin.wordpress.com/2009/07/14/generate-net-class-from-xsd-with-references-to-other-xsd-using-xsd-exe/
XSD2CODE.exe
Not capable of handling multiple schemas at one pass.
Found at https://xsd2code.codeplex.com/
https://stackoverflow.com/questions/9386754/using-xsd2code-with-multiple-schema-files
Finally there is also another guy that ran into the same problems.
https://stackoverflow.com/questions/35658403/error-deserializing-xml-in-c-sharp
Endless corrections leading to...bummer. Hours lost for nothing. Crapware.
Just, do not bother loosing time with them.
Wish i had time to make my own conversion software.
No comments:
Post a Comment