ProjectItemFolder element

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Represents a mapped folder.

Syntax

<ProjectItemFolder Target = "Path of SharePoint folder the mapped folder corresponds to"
    Type = "Type of deployment for the mapped folder" />

Type

ProjectItemFolderType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Target Required xs: string attribute.

The path of the folder in the SharePoint installation that the mapped folder corresponds to, relative to the deployment root folder. The deployment root folder is determined by the deployment type specified by the Type attribute.

For more information, see the descriptions for the Deployment Path and Deployment Root properties of SharePoint project items in Develop SharePoint solutions.
Type Required xs:string attribute.

The type of deployment for the mapped folder. For more information about the possible values, see the description for the Deployment Type property of SharePoint project items in Develop SharePoint solutions.

Child elements

None.

Parent elements

Element Description
ProjectItem Represents a SharePoint project item. This element is the required root element of the .spdata file.

Remarks

For more information about mapped folders, see How to: add and remove mapped folders.

Element information

Property Value
Namespace http://schemas.microsoft.com/VisualStudio/2010/
SharePointTools/SharePointProjectItemModel
Schema name SharePoint Project Item Schema
Validation file ProjectItemModelSchema.xsd
Can be empty No

See also