Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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.

See Also

Community Additions

© 2015 Microsoft