How to: Set Environment Variables for Projects
Visual Studio 2005
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
-
Open the <Projectname> Property Pages dialog box. For details, see How to: Open Project Property Pages.
-
Expand the Configuration Properties node.
-
Click the Debugging node to open the debugging property page.
-
Modify the Environment or Merge Environment project settings.
-
Click OK to accept any modified project settings and close the <Projectname> Property Pages dialog box.