In the PowerServer project painter, select the Build page > Basic tab, and make sure the Full build option is selected.
It is recommended that the Full build option should be selected when you build and deploy the project to the production environment.