Wednesday, April 1, 2015

how to use Xsd2Code++

  • Intall the Add-in in Visual Studio.
  • In the Solution Explorer, right-click on your XSD file (should have an .xsd extension and the outermost xs:element should probably have a name matching the file name too) and pick "Run Xsd2Code++" to do the deed.
  • A dialog box titled "xsd2code++ Version 4.0.0.392" appears. Click the "Generate" button here.
  • A file named the same thing as your XSD file only ending in .Designer.cs will be created. It will contain a partial class, so that you may make another file to extend the class if you so desire.

No comments:

Post a Comment