Open your project, select Project Properties->Publish(ing)->Application Files and click the reset all button. Does that help?

Unable to apply publish properties?
Is there any way to remove spaces from in between the words in a text? Something like

\RemoveSpaces{This is   my    sentence.}


which will be converted to


  Thisismysentence.

