A deleted file remains part of a project, but it doesn't appear in the file list. This error has the following cause and solution:
To make the file appear in the file list, don't share it from another project; rather, recover it in this project using the Recover button on the Deleted Items tab in the Properties dialog box on the File menu.