Recompile ASP.NET web project without giving it a virtual directory

asp.netcsprojiisrecompile

In my line of work I'm often retrieving very specific versions of crusty ASP.NET web apps from their long-forgotten repositories, making minor changes and then recompiling.

A major annoyance in this process is having to create a virtual directory for every web project that I need to recompile. I don't have any problems with the process, but it's tedious and still a very manual process on .NET 1 projects.

Is there a fairly simple way to recompile the binaries of the csproj without setting up a new virtual directory?

Edit: I don't mind using command line tools, or external solutions, as long as they're fairly simple and straightforward.

Best Solution

I'm not sure there's any other way unless you can convert the project to vs 2005.