Unable to apply publish properties?
Open your project, select Project Properties->Publish(ing)->Application Files and click the reset all button. Does that help?
In Project Properties > Publish > Application Files...
If you click "Show All" you will see that some items have a yellow exclamation mark indicating that those files are no longer referenced. Just delete these entries.