XSD object generator for .Net framework 2.0?

G

Guest

Hi,
I am building an web application using Visual Studio 2005. I would like to
generate C# classes from XSD schema for DTOs. I used XSDObjectGenerator tool
for .Net Framework 1.0. Can anyone suggest me if there any equivalent tool
available for generating classes from XSD schema in .Net Framework 2.0 also?

Any pointer would be very helpful.
 
M

Michael Nemtsev

Hello Aniruddha,

This classes will be generated automatically, if you put your XSD to the
App_Code folder of your webproject

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

A> Hi,
A> I am building an web application using Visual Studio 2005. I would
A> like to
A> generate C# classes from XSD schema for DTOs. I used
A> XSDObjectGenerator tool
A> for .Net Framework 1.0. Can anyone suggest me if there any equivalent
A> tool
A> available for generating classes from XSD schema in .Net Framework
A> 2.0 also?
A> Any pointer would be very helpful.
A>
 
G

Guest

Hi Michael,
Thank you for your suggestion. What I actually did was I went to Visual
Studio command promt and used xsd.exe tool to generate classes.
xsd <xsd file name> /CLASSES.
The above command generated the desired .cs class.

Regards,
Aniruddha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top