Creating a Project Workspace

OverviewsHow Do I... TopicsNMAKE Reference

With Visual C++, there are essentially two ways to create a new project workspace:

  • Use a New Project wizard to create the initial project. Visual C++ wizards automatically create a project workspace that includes starter files appropriate for the project type. For more information about each type of wizard available with Visual C++, see Project types

  • Create a blank project workspace yourself. In this case, you must create all the files, select the project(s) to include in the project workspace, and select the files to add to the project.

    You must use this approach to create a workspace with a name or location different from the name and location for any of the projects it will contain. After you create the blank workspace, you can create a new project with a different location and insert it into the workspace at the same time.

To use a New Project wizard

  1. From the File menu, click New.

  2. In the New dialog box, click the Projects tab and select from the available project types to launch the wizard.

To create a blank project workspace

  1. On the File menu, click New.

  2. Click the Workspaces tab.

  3. Select Blank Workspace from the type list, and type a name in the Workspace Name box.

If necessary, specify the directory where the project workspace files are stored by using the Location box.