Fix error when hitting F5 and source file not bound to project