SPC062111: Do not deploy empty ElementManifests in Features

ElementManifests files in Features which do not contain any element have no purpose and should be removed from the solution.

TypeName: DoNotDeployEmptyElementManifests
CheckId: SPC062111
Severity: CriticalWarning
Type: Feature

Remove the ElementManifest from the solution.

Bad Practice:

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!-- no elements defined in XML, file should be removed -->  

comments powered by Disqus