Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Samples
Technology Samples
 SchemaImporterExtension Technology ...
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Samples
SchemaImporterExtension Technology Sample

Updated: November 2007

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:

Download sample

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 Windows 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.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker