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
We fixed this by restarting the AppPool, after trying several of the other solutions. Republishing was not an option on this occasion.