Using Environment Variables

To use environment variables with your applications, you need to specify them on the Build Environment properties page in the project's or the build configuration's settings. Building the project adds the information about the variables to the application.

You can also specify environment variables that only apply at run time. You specify these in the run or debug configuration of the application and specify that the configuration inherits the values from the project's build configuration properties or specify variables that are different to these.