Try to open another project and copy the missing file from it to your current project. It works just well