This documentation is archived and is not being maintained.

How to: Set Environment Variables for Projects

Use the Environment or Merge Environment project settings, which are available from the <Projectname> Property Pages dialog box, to set up environment variables for projects. For more information, see Project Settings for a C++ Debug Configuration.

To set environment variables for a project

  1. Open the <Projectname> Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Expand the Configuration Properties node.

  3. Click the Debugging node to open the debugging property page.

  4. Modify the Environment or Merge Environment project settings.

  5. Click OK to accept any modified project settings and close the <Projectname> Property Pages dialog box.

Show: