I have a project in Visual Studio 2010 that I want to publish to a server running IIS. I know how to publish a web site from Visual Studio, but the problem is when I publish my project to the server then I have to manually create the Virtual Directory to publish to.
Can we automatically create a Virtual Directory when publishing a website?