Share via


Creating, Including, or Removing Subprojects

Home Page (Projects)OverviewsHow Do I... TopicsNMAKE Reference

A subproject is a project that has a dependency relationship with another project. Sometimes this dependency consists of shared files, that need to be built in the subproject first; or it may include shared resources that need updating in the subproject first. The dependency relationship is established by the configuration settings.

What do you want to do?

Create a new subproject

Insert a subproject

Remove a subproject

To create a new project as a subproject

  1. On the File menu, click New and then click the Projects tab.

  2. Specify the Project Name and Location for the new project.

  3. Click Add to Current Workspace, click the Dependency of box, and then select the name of the project you want the new project to be a subproject of.

  4. Double-click the appropriate icon to create for your project type.

To include an existing project as a subproject

  1. Open the workspace that contains the project to which you want to add an existing project as a subproject.

  2. On the Project menu, click Insert Project into Workspace.

  3. Select the project file (.dsp) you want to insert as a subproject.

  4. Click the Dependency of box, and then select the project you want to create the subproject for from the drop-down list.

  5. Click OK.

To remove a subproject from a project

  • In the FileView pane, click the project and then select Delete on the Edit menu.