This project is read-only.

Iis7VirtualDirectory to Existing Web

Mar 17, 2010 at 9:36 AM

How to add IIS7 Virtual Directory to existing web?

I am currently using the "AddApplication" option to add application to existing web site.  But can't find any option to add virtual directory to existing website like AddVirtualDirectory.

Will this be supported in futuer?


Thanks for all your hard work.


Mar 17, 2010 at 10:08 AM

AddVirtualDirectory is in there already.


Mar 17, 2010 at 5:50 PM

Ah... Yes, I see it now.

One more question, Is there a way to check if Virtual Directory exists? Like Iis7Application CheckExists.

I have situation where I need to check to see if VD exists if not then added or need a way to force creation of VD.





Mar 18, 2010 at 3:03 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.