Export (0) Print
Expand All

SchemaImporterExtension Technology Sample

Download Sample

This sample demonstrates a custom SchemaImporterExtension that allows fine control over code generation when an XML schema is imported. The application shows how to build, register and invoke this extension.

To build the sample using the command prompt

  1. Open a Command Prompt window and navigate to one of the language-specific subdirectories for the sample.

  2. Type msbuild.exe OrderSchemaImporterExtension.sln at the command line.

To build the sample using Visual Studio

  1. Open File Explorer and navigate to one of the language-specific subdirectories for the sample.

  2. Double-click the icon for OrderSchemaImporterExtension.sln to open the file in Visual Studio.

  3. On the Build menu, click Build Solution.

The application will be built in the default \bin or \bin\Debug directory.

To run the sample

  1. Navigate to the directory containing the new executable, using the command prompt.

  2. Type [exe name] at the command line.

Remarks

For more information about sample binary creation and registration steps, see the comments in the source code and build.proj files.

See Also



Build Date:

2012-08-02
Show:
© 2014 Microsoft