SPC010702: Declare element 'SiteDefinition' in Solution

A deployed SiteDefinition should be included correctly in manifest.xml of the Solution.

TypeName: DeclareSiteDefinitionElementInSolution
CheckId: SPC010702
Severity: CriticalWarning
Type: SiteDefinitionManifestFileReference
Resolution

Add element 'SiteDefinition to the manifest.xml. See sample below (MSDN):

<Solution SolutionId="4AFC1350-F354-4439-B941-51377E845F2B" xmlns="http://schemas.microsoft.com/sharepoint/">
   ...
   <SiteDefinitionManifests>
      <SiteDefinitionManifest Location="LitwareSiteTemplate">
         <WebTempFile Location="1033\xml\webtempLitware.xml" />
      </SiteDefinitionManifest>
   </SiteDefinitionManifests>

   ...
</Solution>

Links

comments powered by Disqus