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
'宣告
<GuidAttribute("BD1223EC-C317-4173-9D05-9F02D1DDD56F")> _
Public Interface VCWebDeploymentTool
[GuidAttribute("BD1223EC-C317-4173-9D05-9F02D1DDD56F")]
public interface VCWebDeploymentTool
[GuidAttribute(L"BD1223EC-C317-4173-9D05-9F02D1DDD56F")]
public interface class VCWebDeploymentTool
[<GuidAttribute("BD1223EC-C317-4173-9D05-9F02D1DDD56F")>]
type VCWebDeploymentTool = interface end
public interface VCWebDeploymentTool
The VCWebDeploymentTool type exposes the following members.
Properties
Name | Description | |
---|---|---|
AdditionalFiles | Gets or sets the semicolon-separated list of additional files to be deployed. | |
ApplicationMappings | Gets or sets the semicolon-separated list of file extensions to be associated with the primary project output. | |
ApplicationProtection | The level of process isolation used by the virtual directory. | |
ExcludedFromBuild | Gets or sets a value indicating whether this item is excluded from the build. | |
ExecutionBucket | Infrastructure. Microsoft Internal Use Only. | |
RegisterOutput | Gets or sets a value indicating whether the primary project output should be registered using Regsvr32 after deployment. | |
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. | |
ToolKind | Gets the name of the kind of tool this is. | |
toolName | Gets the name of the specified tool. | |
ToolPath | Gets the path to the specified tool. | |
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. | |
VCProjectEngine | Gets a pointer to the project engine. | |
VirtualDirectoryName | Gets or sets the alias of the virtual directory. |
Top
Methods
Name | Description | |
---|---|---|
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.
注意
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.
注意
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.