Export (0) Print
Expand All

Adding Game Content Projects

Describes how XNA Game Studio supports the use of multiple content project folders within a game project.

When initially created, an XNA Game Studio game project contains a single subordinate content project to contain game assets to be managed through the content pipeline. It may be convenient to create and maintain additional content projects, perhaps to manage differing types or collections of content.

To add a new content project

  1. Open an XNA Framework game or library project in XNA Game Studio.
  2. In Solution Explorer, right-click the game project node.
  3. Click Add, and then click New Content Project....
  4. In the Add New Content Project dialog box, enter the name for the new content project.

The same procedure can also be performed by selecting Add New Content Project... from the Project menu.

To add an existing content project

  1. Open an XNA Framework game or library project in XNA Game Studio.
  2. In Solution Explorer, right-click the game project node.
  3. Click Add, and then click Existing Content Project....
  4. In the file selection dialog box, navigate to the existing content project file, and then select it.

The same procedure can also be performed by selecting Add Existing Content Project... from the Project menu.

Dd282476.note(en-US,XNAGameStudio.30).gifNote

It is acceptable to add the same content project to projects for different platforms (as in a cross-platform solution). However, if your solution contains multiple projects for the same platform, do not add the same content project to these projects. This will result in unpredictable behavior.

To remove a content project

  1. Open an XNA Framework game or library project in XNA Game Studio.
  2. In Solution Explorer, expand the game project node and right click the game content project.
  3. Click Remove.

Community Additions

ADD
Show:
© 2014 Microsoft