Expand Minimize

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)

[CLSCompliantAttribute(true)]
public enum DeploymentType

Member nameDescription
AppGlobalResourceSpecifies 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.

ApplicationResourceSpecifies 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.
AppPackageSpecifies deployment of the file as part of an app for SharePoint, but not packaged into a wsp.
ClassResourceSpecifies 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}.
DwpFileSpecifies 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.
ElementFileSpecifies 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.
ElementManifestSpecifies 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.
NoDeploymentSpecifies files that are not deployed to SharePoint. The default path for NoDeployment is an empty string.
PackageOnlySpecifies 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.
ResourceSpecifies 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).

RootFileSpecifies the deployment of root files to SharePoint. Root files are referenced by the package manifest (manifest.xml). The default path for RootFile is {SharePointRoot}.
TemplateFileSpecifies 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft