Expand Minimize

SPC060108: Do not deploy files directly into system folder

Solutions should not write in folders of system files directly. If you need to deploy a file in a system folder, use a project specific subfolder.

CheckId SPC060108
TypeName DoNotDeployFilesDirectlyIntoSystemFolder
Severity CriticalWarning
Type Solution

Deploy files only into a custom subfolder (named after the solution name). This helps to prevent conflicts with deployed files from other solutions.

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":"SPC060108:DoNotDeployFilesDirectlyIntoSystemFolder","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.