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("A474527B-B2F6-4B21-9DBB-0C7528BF739F")> _
Public Interface VCWebDeploymentTool
[GuidAttribute("A474527B-B2F6-4B21-9DBB-0C7528BF739F")]
public interface VCWebDeploymentTool
[GuidAttribute(L"A474527B-B2F6-4B21-9DBB-0C7528BF739F")]
public interface class VCWebDeploymentTool
[<GuidAttribute("A474527B-B2F6-4B21-9DBB-0C7528BF739F")>]
type VCWebDeploymentTool =  interface end
public interface VCWebDeploymentTool

The VCWebDeploymentTool type exposes the following members.

Properties

  Name Description
Public property AdditionalFiles Gets or sets the semicolon-separated list of additional files to be deployed.
Public property ApplicationMappings Gets or sets the semicolon-separated list of file extensions to be associated with the primary project output.
Public property ApplicationProtection The level of process isolation used by the virtual directory.
Public property ExcludedFromBuild Gets or sets a value indicating whether this item is excluded from the build.
Public property ExecutionBucket Infrastructure. Microsoft Internal Use Only.
Public property RegisterOutput Gets or sets a value indicating whether the primary project output should be registered using Regsvr32 after deployment.
Public property RelativePath Gets or sets the path that is relative to the virtual directory and to which the primary project output is copied when deployment occurs.
Public property ToolKind Gets the name of the kind of tool this is.
Public property toolName Gets the name of the specified tool.
Public property ToolPath Gets the path to the specified tool.
Public property UnloadBeforeCopy Gets or sets a value indicating whether or not to unload the Internet Server Application Programming Interface (ISAPI) extension or extensions associated with the virtual directory before deploying.
Public property VCProjectEngine Gets a pointer to the project engine.
Public property VirtualDirectoryName Gets or sets the alias of the virtual directory.

Top

Methods

  Name Description
Public method get_PropertyOption Infrastructure. Microsoft Internal Use Only.

Top

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

Microsoft.VisualStudio.VCProjectEngine Namespace