I have a VS 2005 web site that I publish using \"Publish Web Site\", and I clear all the three checkboxes. I also have a deployment project that picks up the published files
This is the solution for VS 2008.
Please tick the box as shown below to resolve the issue.