Thursday, July 19, 2012

how to convert xsd to c# class

how to convert xsd file in to c#
Step 1 open follwoing location
C:\Program Files\Microsoft Visual Studio 9.0\VC
(where the Visual studion command prompt marking.above path is ideally for vs-2008 )
Step 2 Paste your xsd files.
Step 3 Open command prompt from Visual studio
Step 4 write command
 xsd /c a.xsd a1.xsd
 if you have more than one xsd for proxy class write all files name with space.
        here /c tells that proxy file should be generated in c#.