Add Include Files

To add new include files to the project:

  1. Right-click the project in Solution Explorer.
  2. Click Add > New Item.
  3. In the Installed Templates pane, click PL/I Items, and click PL/I Include.

    The default name of the file is Include1.inc.

  4. Click Add.
    Note: When an include file is added in this way, its build action is set to "None". To see this, click the file in Solution Explorer and check the Properties window to notice the value of the Build Action option.

To add existing include files:

  1. Go to the project's properties, and open the Dependency Paths tab.
  2. Specify the directory containing the include files under PL/I Include Paths.
  3. Right-click the project in Solution Explorer.
  4. Click Add > Existing Item and browse to the location of the include file.
  5. Select the include file you want to add to the project.
  6. Click Add.
Note: You need to add the include files to the project so that the build process will recognize when an include file has changed and will recompile the appropriate programs. It will also help with features such as Find in Files.