Windows Vista Beta | WinVistaBeta.com - Message | XSD code generation in VS2008?

November 20, 2008  
Subject: XSD code generation in VS2008?
Group: microsoft.public.vstudio.general
Date: 8/28/2008 10:57:21 AM
From: Bradley Plett [Email Address Protection]

First there was Chris Sells wonderful custom tool "XsdClassesGen"
(SBXsdClassesGenerator - see
http://www.sellsbrothers.com/tools/#xsdClassesGen) for VS2003.
Stephane Tombeur helpfully got this working in VS2005 (see
http://dotnetjunkies.com/WebLog/appeng/archive/2004/11/04/31021.aspx).
What about VS2008? Isn't this something that MS should be including?

It seems to me that generating class code (as opposed to dataset code)
from a schema is fairly fundamental. Afaik, the "xsd" tool has
supported it from the beginning. Why can't this be built into the
IDE? Am I missing something?

Thoughts? Comments?

Thanks!
Brad.

Back
Subject: Re: XSD code generation in VS2008?
Group: microsoft.public.vstudio.general
Date: 8/28/2008 8:11:30 PM
From: "John Saunders" [Email Address Protection]

It's not very fundamental in my experience. I've done it twice in the last
several years. In both cases, it was to generate classes to be used to fill
in the <detail> element of a SOAP Fault. Other than that, I haven't needed
this functionality. I simply created a post-build event to run xsd.exe.

--
John Saunders | MVP - Connected System Developer

"Bradley Plett" <plettb@newsgroup.nospam> wrote in message
news:3vodb4tua080ju8ljv9vgdg5ss4n9f8qcu@4ax.com...
> First there was Chris Sells wonderful custom tool "XsdClassesGen"
> (SBXsdClassesGenerator - see
> http://www.sellsbrothers.com/tools/#xsdClassesGen) for VS2003.
> Stephane Tombeur helpfully got this working in VS2005 (see
> http://dotnetjunkies.com/WebLog/appeng/archive/2004/11/04/31021.aspx).
> What about VS2008? Isn't this something that MS should be including?
>
> It seems to me that generating class code (as opposed to dataset code)
> from a schema is fairly fundamental. Afaik, the "xsd" tool has
> supported it from the beginning. Why can't this be built into the
> IDE? Am I missing something?
>
> Thoughts? Comments?
>
> Thanks!
> Brad.


Back