Adding or Removing Files/Folders in the Main Files Directory
Adding Files/Folders to the Main File Directory
The Main Files directory can contain logical folders, linked folders, or linked files.
To add files in the Main Files directory, use one
of the following methods:
- Right-click a file from your project and select Add to Main Files from the contextual menu.
- Drag and drop files into the Main Files directory.
- From the contextual menu of the Referenced/Dependent Resources view, use the Add to Main Files action.
To add folders in the Main Files directory, use one
of the following methods:
- Right-click Main Files directory and select Add Folder from the contextual menu.
- Drag and drop folders into the Main Files directory.
You can view the main files for the currently edited resource in the Editor Properties view.
Removing Files/Folders from the Main Files Directory
The main files that are already defined in the project are automatically marked in the tree. To disable a main file or folder, remove it from the Main Files folder (for example, right-click and select Delete). Removing files or folders from the Main Files folder does NOT delete the files from disk. It just removes the logical files from that logical folder in the project.