SPC010102: Declare required attribute 'SolutionId' in Solution

Required attribute 'SolutionId' must be declared in Solution.

TypeName: DeclareRequiredAttributesInSolution
CheckId: SPC010102
Severity: CriticalError
Type: Solution
Resolution

Add required attribute 'SolutionId' to Solution. The solution schema definition at MSDN defines the attribute 'SolutionId' as optional value but SPCAF requires a valid solution id.

If the SolutionId is not present the deployment process may fail or existing scripts for installation of the solutions are not working.

See sample below (MSDN):

<Solution SolutionId="4AFC1350-F354-4439-B941-51377E845F2B" xmlns="http://schemas.microsoft.com/sharepoint/">
   <FeatureManifests>
      ...
   </FeatureManifests>
</Solution>

comments powered by Disqus