May 17, 2002 tools

.NET XsdClassesGen

XsdClassesGen is a Custom Tool Add-In to VS.NET 2002 & 2003 to generate type-safe wrapper classes for serializing to and from XML documents. It takes as input an XSD and produces the C# or VB.NET code to do the serialization using the XmlSerializer. This is really just the output of running xsd.exe /classes, but integrated directly into VS.NET.

If you’d like to know more about what a custom tool is and how to build your own, check out CollectionGen.

Also, Atif Aziz used some of my custom tool code and built a generic VS.NET code generator shim that allows you to build a code generator that plugs into VS.NET by implementing a single method.

And, as if that weren’t enough, Stephane Tombeur has posted the code to VS2005. Thanks, Stephane!