Changing the physical path of a web application?

Jul 23, 2009 at 12:20 AM

I've figured out how to change the physical path of a whole site using the Iis7Website task:

<MSBuild.ExtensionPack.Web.Iis7Website TaskAction="ModifyPath" MachineName="$(Server)" Name="$(Site)" Path="$(ServerLocalFullPath)"/>

I haven't been able to figure out how to change the physical path for an application on a site, however. Is there a way to do that? I tried using the "AddApplication" action, but that will only add new -- it produces an error if the path already exists.

 

Coordinator
Jul 23, 2009 at 8:52 AM

No. Looks like we could do with some additional tasks around application management in the next release. I'll copy this to a workitem.

Mike

Coordinator
Jul 23, 2009 at 8:53 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.