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 was having a similar issue as well. I think the answer is using MSDeploy. Investigating it now, but may provide functionality required...