Share via


How to: Add a New Processor or Importer to XNA Game Studio Express 

This example demonstrates how to add a custom processor or importer to an existing game solution. XNA Game Studio Express currently provides importers for .x and .fbx files. In addition, processors are provided for basic game asset types such as models, materials effects, and textures. For more information on these processors and importers, see Standard Importers and Processors.

Security Note
Before you open an existing project or component, determine the trustworthiness of the code outside of the Visual Studio designer. Opening projects or components in the Visual Studio designer automatically executes that code on your local machine in the trusted process of VCSExpress.exe.

The following procedures add a custom importer and processor to an existing game solution (called "MyGame"). These steps assume that you copied the new importer or processor to a local subfolder of the "Mygame" solution.

To add a custom importer

  1. Open XNA Game Studio Express.
  2. Load the MyGame solution.
  3. From Solution Explorer, double-click the Properties node. This opens the Properties window for your current project.
  4. Click the XNA Content Pipeline Assemblies tab.
  5. Click the Add button.
  6. Navigate to the folder containing the custom importer.
  7. Select the custom importer and click Open.
  8. Save the solution.

The new importer appears as one of the choices when selecting an importer for a game asset. Use this same procedure for adding a custom processor.

See Also

Content Pipeline