|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Different Features require different file formats, depending on the type of customization you are making. In most cases, a Feature.xml file contains a Feature element that uniquely identifies the Feature, specifies its scope, and points to an XML file whose top-level Elements element defines the elements comprising the Feature. A Feature, however, might not include an Elements file, and may consist of a Feature.xml file whose Feature element, in addition to providing the previously described specifications, points to an assembly that is used in the Feature, such as in the case of declaring an event receiver.
In addition to describing the file format of Feature.xml Files and the Feature sections in Site Definition (Onet.xml) Files, this section describes the file formats used for the following Feature types: