SPC060209: Do not deploy SPWebConfigModifications via features

Deployment of SPWebConfigModifications with a feature receiver should be avoided. The activation of this feature will start a timer job and will initiate the restart of services which may lead to problems during a deployment. Consider deploying of SPWebConfigModifications via PowerShell script or supplemental config file.

TypeName: DoNotDeploySPWebConfigModificationsViaFeatures
CheckId: SPC060209
Severity: Warning
Type: AssemblyFileReference

Avoid changes of web.config in features. Consider deploying them with PowerShell or supplemental config files.


comments powered by Disqus