Expand Minimize

Files or Folders should contain the name of the parent solution

Files or their folders should be named after the solution. This helps do make the file location unique to prevent overwriting of existing files and it is easier to see which WSP solution deployed the file. The rule is case sensitive.

CheckId SPC080102
TypeName SolutionShouldNameFilesOrTheirFoldersAfterTheSolution
Severity Warning
Type Solution

Change the name or location of the file. Use a subfolder which is named as the solution or start the filename with the solution name to increase maintainability. Replace "." with "_" in folder names. Examples: '{4}' or '{5}'

To suppress this violation in XML SharePoint code add the following comment right before the XML tag which causes the rule violation. Learn more about SuppressMessage here.

<!-- "SuppressMessage":{"rule":"SPC080102:SolutionShouldNameFilesOrTheirFoldersAfterTheSolution","justification":"Provide reason for suppression here"} -->
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.