Sets an application mapping for a filename extension on an existing web directory.
Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Map the .axd extension to the lastest version of ASP.NET:
Copy Code | |
---|---|
<WebDirectoryScriptMap VirtualDirectoryName="MyWeb" Extension=".axd" MapToAspNet="True" VerifyFileExists="False" /> |
Copy Code | |
---|---|
<WebDirectoryScriptMap VirtualDirectoryName="MyWeb" Extension=".rss" Verbs="GET" ExecutablePath="$(WINDIR)\Microsoft.Net\Framework\1.0.3705\aspnet_isapi.dll" /> |
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
MSBuild.Community.Tasks.IIS.WebBase
MSBuild.Community.Tasks.IIS.WebDirectoryScriptMap
Microsoft.Build.Utilities.Task
MSBuild.Community.Tasks.IIS.WebBase
MSBuild.Community.Tasks.IIS.WebDirectoryScriptMap
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.