Bagikan melalui


Files Element

Specifies the files to deploy with the SharePoint project item, such as Feature element files and the output of dependent non-SharePoint projects.

<Files>
  <ProjectItemFile.../>
  <ProjectOutputFile.../>
</Files>

FileCollectionType

Attributes and Elements

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

Attributes

None.

Child Elements

Element

Description

ProjectItemFile

Optional ProjectItemFileType element.

Represents a SharePoint file, such as Feature element file, to include with the project item when it is deployed to SharePoint.

ProjectOutputFile

Optional ProjectOutputFileType element.

Represents the output of a project to include with the project item when it is deployed to SharePoint.

Parent Elements

Element

Description

ProjectItem

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

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2010/SharePointTools/SharePointProjectItemModel

Schema name

SharePoint Project Item Schema

Validation file

ProjectItemModelSchema.xsd

Can be empty

No

See Also

Concepts

SharePoint Project Item Schema Reference