Installs and register script mappings for ASP.NET
Namespace: MSBuild.Community.Tasks.AspNet
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Install the latest version of ASP.NET on the server:
Copy Code | |
---|---|
<InstallAspNet /> |
Copy Code | |
---|---|
<InstallAspNet ApplyScriptMaps="Never" /> |
Copy Code | |
---|---|
<InstallAspNet Path="MyApplication" Version="Version20" /> |
Copy Code | |
---|---|
<InstallAspNet Path="MyApplication" Version="W3SVC/3/Root/Version11" /> |
Copy Code | |
---|---|
<InstallAspNet ClientScriptsOnly="True" /> |
Remarks
Uses the aspnet_regiis.exe tool included with the .NET Framework.
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.AspNet.InstallAspNet
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.AspNet.InstallAspNet
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.