Actually I got error "file not found" when trying "Export As Zip" (I saw that the Auto Backup failed and wanted to do it manually). Compiling was in this case without error.
Yesterday I had the same issue (can't find an old Image-File that I removed before), when compiling in Release Mode (not in Debug Mode). In both cases it helped, to search this file in the Designer files (manually) and remove it also here. Today this file still was existing in the designer. Yesterday (this issue with Release Mode) it was not showing up there, but it helped to set the Image-Property to another file.
Also for other reasons it could be very helpful, to find ressources not only in the source code, but also in the Designer files.