Adding an Existing File to a Project

When you add packages and files to a project, they are viewable on the Project tab in the Explorer. All files that have been added to a project are checked by the compiler when you choose the Compile Project and Build Project commands.

Mounting a filesystem does not automatically include the files in the project.

To add an existing filesystem, package, or file to a project:

  1. Click the Project tab in the Explorer, right-click on the root Project node, and choose Add Existing from the contextual menu.
  2. In the Select Objects dialog box, navigate to the filesystem, package, or file you want to add to the project and click OK.

    The node that you select appears on the Project tab as a link. If you delete this node, the node disappears from the Project tab, but the files are still accessible on the Filesystems tab.

Tip You can also add a filesystem, package, or file to a project by right-clicking the file on the Filesystems tab in the Explorer and choosing Tools and choosing Add To Project.
See also
Projects in the IDE
Creating a New Project
Adding a New File to a Project
Deleting a Project

Legal Notices