Elsewhere on the Web, you can find recommendations on using something like this to simulate the Publish feature in the VS 2005-2008 IDE from a command-line (I hope I did not
I had this same issue in VS 2012 and eventually fixed it by doing the following to any files which needed to be copied: