Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# serializable classes to xsd

Tags:

c#

xsd

Is there a way of outputing xml schemas (xsd) from serialisable c# classes? I have had a look about the web but im not sure im searching for the right stuff.

Thanks

like image 520
Tom Squires Avatar asked Jul 15 '11 16:07

Tom Squires


1 Answers

You're looking for XSD.exe http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx

Point it at a .dll and it will generate schemas for your classes.

like image 180
AllenG Avatar answered Nov 20 '22 02:11

AllenG