SPC062102: Deploy missing ElementManifest or ElementFile in Feature

If ElementManifests or ElementFile are listed in the feature.xml these files must be deployed within the solution package.

TypeName: DeployMissingElementFile
CheckId: SPC062102
Severity: CriticalWarning
Type: Feature

Check the WSP solution file and the feature.xml of the Feature and ensure that the ElementManifest or ElementFile is deployed in the WSP solution package. See sample below:

<?xml version="1.0" encoding="utf-8" ?>
<Feature Title="Feature with missing files">
    <!-- The following file Elements.xml must be present in the folder of the Feature -->
    <ElementManifest Location="Elements.xml" />
    <!-- The following file ONET.xml must be present in the folder 'WebTemplate' within the Feature -->
    <ElementFile Location="WebTemplate\ONET.XML" />

comments powered by Disqus