This solution is deprecated. 


When updating a project to release 3.0 and later, the following message may appear 


~/Projects/embed1/embed1/main.cpp:2409:64: fatal error: ___PROJECTNAMEASIDENTIFIER___.___SKETCH_EXTENSION___: No such file or directory


Just edit the main.cpp file and replace 


#include "___PROJECTNAMEASIDENTIFIER___.___SKETCH_EXTENSION___"


by

 

#include "embed1.ino"


provided embed1.ino is the main sketch of your project.