SchemaImporterExtension Technology 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.
For information about using the samples, see the following topics:
To build the sample using the command prompt
Open a Command Prompt window and navigate to one of the language-specific subdirectories for the sample.
Type msbuild.exe OrderSchemaImporterExtension.sln at the command line.
To build the sample using Visual Studio
Open Windows Explorer and navigate to one of the language-specific subdirectories for the sample.
Double-click the icon for OrderSchemaImporterExtension.sln to open the file in Visual Studio.
On the Build menu, click Build Solution.
The application will be built in the default \bin or \bin\Debug directory.
To run the sample
Navigate to the directory containing the new executable, using the command prompt.
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.