I am trying this. I have built asp.net website. When I publish to IIS through VS2008 it works fine. Lets say my site is at c:\\projects\\Website1\\ I want to publish it to c
Also, you might consider using MSBuild on your solution file, and using the Publish target.
That's what VStudio is doing under the covers anyway. :-)