Sample Code Generator

Download this tool to generate sample C# & VB classes from an XSD schema.
  • Version:

    File Name:


    Date Published:


    File Size:

    667 KB

      The Sample Code Generator (XSDObjectGen) tool takes an XSD schema as input and generates sample code showing how to mark up C# and VB.Net classes so that when serialized with the XML serializer, the resulting XML will be valid according to the original schema. This update introduces support for Visual Studio 2005, partial classes and the .NET framework 2.0, maintains backward compatiblity for Visual Studio 2003, fixes some documentation changes and corrects bugs reported by users.
  • Supported Operating System

    Windows 2000, Windows 2000 Advanced Server, Windows 2000 Professional Edition , Windows 2000 Server, Windows Server 2003, Windows XP, Windows XP Home Edition , Windows XP Media Center Edition, Windows XP Professional Edition

      .NET Framework 2.0, 1.0, 1.1; optionally, Visual Studio .NET or Visual Studio .NET 2003, or Visual Studio 2005
    • Download the MSI and then execute it, or open in place. Installs the Sample Code Generator in a directory of your choice. If Visual Studio 2003 is present, will also install a new XSD project type in the C# and VB.NET project types. For Visual Studio 2005, installs an add on for invoking code generation from schemas that are added to the project

      More detailed usage instructions are provided in the accompanying documentation (XsdObjectGen.doc).
    • A sample XML comment generator macro for Visual Studio .NET is also installed in the application setup directory. This macro needs to be loaded into the Visual Studio Macro environment before it can be used.
Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: