Share via


DeploymentType Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the type of deployment to be performed on a file.

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

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Enumeration DeploymentType
[CLSCompliantAttribute(true)]
public enum DeploymentType

Members

Member name Description
AppGlobalResource Specifies deployment of the file as an Application Global Resource to SharePoint. The default path for AppGlobalResource is: {WebApplicationRoot}\App_GlobalResources.

Application Global Resources are referenced by the package manifest (manifest.xml). They are deployed to the 'App_GlobalResources' folder of the SharePoint Web application.

ApplicationResource Specifies deployment of the file as an Application Resource to SharePoint. Application Resources are referenced by the package manifest (manifest.xml). The default path for ApplicationResource is: {WebApplicationRoot}\Resources.
AppPackage Specifies deployment of the file as part of an app for SharePoint, but not packaged into a wsp.
ClassResource Specifies deployment of the file as a Class Resource to SharePoint. Class Resources are referenced by the package manifest (manifest.xml). The default path for ClassResource is {ClassResourcePath}.
DwpFile Specifies a file marked as Resource that is referenced in the package manifest as a Dwp file. Dwp files are referenced by the package manifest (manifest.xml). The default path for DwpFile is {WebApplicationRoot}\wpcatalog.
ElementFile Specifies the deployment of element files to SharePoint. Element files are referenced by the feature manifest (feature.xml). The default path for ElementFile is {SharePointRoot}\Template\Features.
ElementManifest Specifies the deployment of element manifests to SharePoint. Element manifests are referenced by the feature manifest (feature.xml). The default path for ElementManifest is {SharePointRoot}\Template\Features.
NoDeployment Specifies files that are not deployed to SharePoint. The default path for NoDeployment is an empty string.
PackageOnly Specifies files marked as Package Only, which are included in the WSP file without any deployment details. The default path for PackageOnly is an empty string.
Resource Specifies deployment of the file as Resource file to SharePoint. The default path for Resource is {SharePointRoot}\Template\Features.

Resource files are referenced by the package manifest (manifest.xml).

RootFile Specifies the deployment of root files to SharePoint. Root files are referenced by the package manifest (manifest.xml). The default path for RootFile is {SharePointRoot}.
TemplateFile Specifies the deployment of template files to SharePoint. Template files are referenced by the package manifest (manifest.xml). The default path for TemplateFile is {SharePointRoot}\Template.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace