DeploymentType Enum

Definition

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

public enum class DeploymentType
[System.CLSCompliant(true)]
public enum DeploymentType
[<System.CLSCompliant(true)>]
type DeploymentType = 
Public Enum DeploymentType
Inheritance
DeploymentType
Attributes

Fields

AppGlobalResource 7

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

ApplicationResource 6

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 11

Specifies deployment of the file as part of an app for SharePoint, but not packaged into a wsp.

ClassResource 5

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 10

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 2

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 1

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 0

Specifies files that are not deployed to SharePoint. The default path for NoDeployment is an empty string.

PackageOnly 8

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 9

Specifies deployment of the file as Resource file to SharePoint. The default path for Resource is {SharePointRoot}\Template\Features.

RootFile 4

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 3

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.

Applies to