Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

Solution Schema

Windows SharePoint Services 3

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

  Assemblies

    Assembly

      SafeControls

        SafeControl

      ClassResources

        ClassResource

  CodeAccessSecurity

    PolicyItem

      PermissionSet

        IPermission

      Assemblies

        Assembly

  DwpFiles

    DwpFile

  FeatureManifests

    FeatureManifest

  Resources

    Resource

  RootFiles

    RootFile

  SiteDefinitionManifests

    SiteDefinitionManifest

      WebTempFile

  TemplateFiles

    TemplateFile

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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.