views:

159

answers:

1

I have a solution with two Web Application Projects. I would like to add a virtual directory to one of the projects that points at the other. Is this possible?

+1  A: 

Just create the virtual directories in your local IIS - why do you want to add the complexity of doing dynamically, keep it simple, it works. Do not spend too much time figuring out something that you'll only use for debugging/testing purposes.

Ricardo
I debug using the ASP.NET Development Server built into VS. I was hoping to find a way to continue using that.
Mike C.
If that is what you need to do, then do the following. Right-click on the project that you are pointing your main project to, then select Properties and then the Web tab. You'll see various options in this window, find the one labeled "Specific port" and type a four digit number (i.e. 1988). From your main project, you can call this other project by using the url "http://localhost:1988/"Also, if you need to "link" back to the main project, just do the same in the main project, specify the port.The above will allow you to go from one application to the other while debuggin in Visual Studio.
Ricardo