Archive for June, 2017

An open source replacement to xsd.exe

Jun 13 2017 Published by under Uncategorized

Microsoft’s XSD.exe is often used for creating DTO classes from an XSD.

The program has its opinions and it is a bit dated.

What is needed is a new implementation that not only returns a more modern output but that also is adaptable for personal quirks.

There are more people that needs this.
https://stackoverflow.com/questions/386155/comparison-of-xsd-code-generators

There are alternatives already.
One (that I have not tried) isĀ Xsd2code (that lives on Codeplex that is soon shutdown, so if you need it, grab it (and move to e.g. github). Remember though that it is dual license.)

There is also the alternative to manipulate the output of xsd.exe.
I found a, by me untried, example at Codeplex called XsdTidy.

No responses yet