NAnt Help Task Reference <mkiisdir> | NAnt.Contrib.Tasks () |
A task to Create or Modify a IIS Virtual Directory for the Default Web Site.
If the virtual directory does not exist it is created. If the virtual directory alread exists it is modified. Required Parameters are dirpath and vdirname. For a list of optional parameters see IIsWebVirtualDir.Attribute | Type | Description | Required |
---|---|---|---|
dirpath | string | The file system path | True |
vdirname | string | Name of the IIS Virtual Directory | True |
accessexecute | bool | False | |
accessnoremoteexecute | bool | False | |
accessnoremoteread | bool | False | |
accessnoremotescript | bool | False | |
accessnoremotewrite | bool | False | |
accessread | bool | False | |
accessscript | bool | False | |
accesssource | bool | False | |
accessssl | bool | False | |
accessssl128 | bool | False | |
accesssslmapcert | bool | False | |
accesssslnegotiatecert | bool | False | |
accesssslrequirecert | bool | False | |
accesswrite | bool | False | |
anonymouspasswordsync | bool | False | |
appallowclientdebug | bool | False | |
appallowdebugging | bool | False | |
aspallowsessionstate | bool | False | |
aspbufferingon | bool | False | |
aspenableapplicationrestart | bool | False | |
aspenableasphtmlfallback | bool | False | |
aspenablechunkedencoding | bool | False | |
aspenableparentpaths | bool | False | |
aspenabletypelibcache | bool | False | |
asperrorstontlog | bool | False | |
aspexceptioncatchenable | bool | False | |
asplogerrorrequests | bool | False | |
aspscripterrormessage | string | False | |
aspscripterrorsenttobrowser | bool | False | |
aspthreadgateenabled | bool | False | |
asptrackthreadingmodel | bool | False | |
authanonymous | bool | False | |
authbasic | bool | False | |
authntlm | bool | False | |
authpersistsinglerequest | bool | False | |
authpersistsinglerequestalwaysifproxy | bool | False | |
authpersistsinglerequestifproxy | bool | False | |
cachecontrolnocache | bool | False | |
cacheisapi | bool | False | |
contentindexed | bool | False | |
cpuappenabled | bool | False | |
cpucgienabled | bool | False | |
createcgiwithnewconsole | bool | False | |
createprocessasuser | bool | False | |
defaultdoc | string | False | |
dirbrowseshowdate | bool | False | |
dirbrowseshowextension | bool | False | |
dirbrowseshowlongdate | bool | False | |
dirbrowseshowsize | bool | False | |
dirbrowseshowtime | bool | False | |
dontlog | bool | False | |
enabledefaultdoc | bool | False | |
enabledirbrowsing | bool | False | |
enabledocfooter | bool | False | |
enablereversedns | bool | False | |
iisserver | string | The IIS server. Defaults to localhost. | False |
ssiexecdisable | bool | False | |
uncauthenticationpassthrough | bool | False | |
failonerror | bool | False | |
if | bool | False | |
unless | bool | False | |
verbose | bool | False |
Creates a Temp IIS Virtual Directory pointing to c:\temp
on the local machine.
<mkiisdir dirpath="c:\temp" vdirname="TEMP" />
Creates a Temp IIS Virtual Directory pointing to c:\temp
on the machine staging
.
<mkiisdir iisserver="staging" dirpath="c:\temp" vdirname="TEMP" />