Udostępnij za pośrednictwem


VCWebDeploymentTool Interface

The VCWebDeploymentTool object provides programmatic access to the Web deployment tool.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
<GuidAttribute("52FCB871-2429-11D7-8BF6-00B0D03DAA06")> _
Public Interface VCWebDeploymentTool
'Usage
Dim instance As VCWebDeploymentTool
[GuidAttribute("52FCB871-2429-11D7-8BF6-00B0D03DAA06")]
public interface VCWebDeploymentTool
[GuidAttribute(L"52FCB871-2429-11D7-8BF6-00B0D03DAA06")]
public interface class VCWebDeploymentTool
public interface VCWebDeploymentTool

Remarks

The VCWebDeploymentTool is used to install files produced by your project so that they are served by Internet Information Services. Enabling Web deployment frees you from having to create virtual directories, configure application mappings, and copy content during development of your applications.

See the documentation for the Deployment (How Do I in Visual Web Developer) for information about the user interface that corresponds to the properties provided by this object.

Note

Web deployment can only be performed by a user who is a member of the Administrators group on the local machine. Web deployment can only deploy to the first Web site on the local machine.

Note

Deployment of ATL Server projects to IIS is not supported on a Web server running on a 64-bit platform.

Web deployment is a build step that occurs only if the link step occurs. See Understanding Custom Build Steps and Build Events to see when this build step is executed in relation to the other steps.

See Also

Reference

VCWebDeploymentTool Members

Microsoft.VisualStudio.VCProjectEngine Namespace