Serialization Tools

Serialization Tools


This section contains detailed information about the serialization tools. You can run all the tools from the command line.


For the .NET Framework tools to function properly, you must set your Path, Include, and Lib environment variables correctly. Set these environment variables by running SDKVars.bat, which is located in the <SDK>\v2.0\Bin directory. SDKVars.bat must be executed in every command shell.

In This Section



XML Serializer Generator Tool (Sgen.exe)

Creates an XML serialization assembly for types in a specified assembly in order to improve the run-time performance of the XmlSerializer.

XML Schema Definition Tool (Xsd.exe)

Generates XML schemas that follow the XSD language proposed by the World Wide Web Consortium (W3C). This tool generates common language runtime classes and DataSet classes from an XSD schema file.

© 2015 Microsoft