This project is read-only.

Create a Default Document IIS7 Using MSBuild Script

Nov 20, 2012 at 1:51 PM

we are deploy application using MSBuild Script in IIS7.Application deployed successfully.But Default Document is not created.if anyone knows please tell me.

How to create Default Document IIS7 Using MSBuild Script?

IIS6 Default Document Creation

<MSBuild.ExtensionPack.Web.Iis6VirtualDirectory TaskAction="Create" Website="$(URL)" Properties="AppFriendlyName=$(URL);Path=$(WebDeploymentDirectory)\Name;DefaultDoc=login.aspx;EnableDefaultDoc=True"/>

The above bold letter is used to create Default Document in IIS6.