To Delete a Custom File From a Project

To delete a custom file from a customization project, perform the following actions:
  1. Open the customization project in the Customization Project Editor. (See To Open a Project for details.)
  2. Click Files in the navigation pane to open the Custom Files page.
  3. In the page table, click the item to be deleted.
  4. On the page toolbar, click Delete Row (X).
  5. On the page toolbar, click Save to save the changes to the customization project.
The File item is deleted from the project. The file remains in the file system and you can add it back to the project, if needed.
Warning:
If you either publish the customization project after the File item is deleted or unpublish all customizations of the website, the platform deletes the original file in the file system.