Solution Schema

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.

A solution manifest file defines the constituent parts of a solution, including its files, assemblies, code access security, Web Parts, Features, site definitions, and other resources.

Solution

ApplicationResourceFiles

[ApplicationResourceFile](ms468415\(v=office.12\).md)

Assemblies

[Assembly](ms468837\(v=office.12\).md)

  [SafeControls](ms413697\(v=office.12\).md)

    [SafeControl](ms451053\(v=office.12\).md)

  [ClassResources](aa543503\(v=office.12\).md)

    [ClassResource](aa543289\(v=office.12\).md)

CodeAccessSecurity

[PolicyItem](aa544569\(v=office.12\).md)

  [PermissionSet](aa543757\(v=office.12\).md)

    [IPermission](aa543183\(v=office.12\).md)

  [Assemblies](aa543953\(v=office.12\).md)

    [Assembly](aa543179\(v=office.12\).md)

DwpFiles

[DwpFile](aa543508\(v=office.12\).md)

FeatureManifests

[FeatureManifest](ms478199\(v=office.12\).md)

Resources

[Resource](ms440225\(v=office.12\).md)

RootFiles

[RootFile](aa543424\(v=office.12\).md)

SiteDefinitionManifests

[SiteDefinitionManifest](ms438304\(v=office.12\).md)

  [WebTempFile](ms476801\(v=office.12\).md)

TemplateFiles

[TemplateFile](ms450312\(v=office.12\).md)

Example

The following example shows a solution manifest file that includes declarations for Features, site definition files, and assemblies.

<Solution SolutionId="4AFC1350-F354-4439-B941-51377E845F2B" 
  xmlns="http://schemas.microsoft.com/sharepoint/">
  <FeatureManifests>
    <FeatureManifest Location="Calls\feature.xml"/>
    <FeatureManifest Location="ServiceRequest\feature.xml"/>
    <FeatureManifest Location="Customers\feature.xml"/>
    <FeatureManifest Location="HelpDeskCore\feature.xml"/>
  </FeatureManifests>
  <TemplateFiles>
    <TemplateFile Location="Mobile\HelpDeskHomePage.ascx"/>
    <TemplateFile Location="1033\xml\webtemphd.xml"/>
    <TemplateFile Location="SiteTemplates\HelpDesk\onet.xml"/>
    <TemplateFile Location="SiteTemplates\HelpDesk\default.aspx"/>
  </TemplateFiles>
  <Assemblies>
    <Assembly DeploymentTarget="GlobalAssemblyCache"
      Location="HelpDeskCoreFeatureReceiver.dll"/>
    <Assembly DeploymentTarget="WebApplication"
      Location="ServiceRequestValidation.dll"/>
  </Assemblies>
</Solution>

The following example shows a manifest for a solution that includes two Features, a single site definition manifest, and a single resource.

<Solution SolutionId="7AFC4320-F354-6439-B745-77387E847F2H" 
  xmlns="http://schemas.microsoft.com/sharepoint/">
  <FeatureManifests>
    <FeatureManifest Location="MyFeature\feature.xml"/>
    <FeatureManifest Location="OtherFeature\otherfeat.xml"/>
  </FeatureManifests>
  <SiteDefinitionManifests>
    <SiteDefinitionManifest Location="STS">
      <WebTempFile Location="1033\STS\webtempSTS.xml"/>
    </SiteDefinitionManifest>
  </SiteDefinitionManifests>
  <Resources>
    <Resource Location="FeatureName\Resources.ja-ja.resx"/>
  </Resources>
</Solution>