Microsoft is giving an excellent feature to create class file from xsd file with the help of xsd.exe tool .Let us have a look “How to generate class file from xsd file ?”. Only thing you need to make sure that Microsoft SDK tool kit has to be there in your system.
Steps to generate a class file.
1)open command prompt (cmd) -> go to this dir ‘C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin’ .
2)Then write command like this ‘xsd.exe -c -l:c# -n:test.xsd ’ .
3) your proxy class Proxy.cs will be get generated in the location ’C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin’ .
thank you !!!