Expand Minimize

Declare element 'SiteDefinition' in Solution

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

CheckId SPC010702
TypeName DeclareSiteDefinitionElementInSolution
Severity CriticalWarning
Type SiteDefinition

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>

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.