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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s