Posts Tagged ‘xsd’

Convert Xsd file to a c# class

Posted: October 17, 2013 in Uncategorized
Tags: ,

Sharing a small tip on how an xsd file can be converted to a c# class.I know many of you din’t even know that we have a way to convert xsd to class 🙂 If so,this is for you.

Steps :

1.Open Visual Studio Command Prompt
2.Browse to the directory which contains your xsd
3. Type the below command and hit enter

   xsd /c MyXSD.xsd

C# class will be generated in same directory which has your xsd.