FXC350201: Assembly should not contain problems which are detected with Microsoft FxCop |
FXC350201: Assembly should not contain problems which are detected with Microsoft FxCop |
The assembly will be checked with Microsoft FxCop for potential problems (if the tool is installed).
TypeName: | FxCopAnalysis |
CheckId: | FXC350201 |
Severity: | Error |
Type: | AssemblyFileReference |
The rule will be executed if the tool FxCop is installed locally. If the tool will not be found the rule will throw an exception.
Important: Not all FxCop are applied. The analysis uses a subset of FxCop rules which are defined in file [SPCAFInstallation]/RuleSets/MSOCAF.ruleset. The file uses the same FxCop rules as MSOCAF (Microsoft SharePoint Online Code Analysis Framework) to provide similiar behaviour. You can override the used ruleset file by using the configuration parameter 'FxCopRuleSets' in the SPCAF ruleset file.
Name | Description |
---|---|
FxCopExecutable | Absolute or relative path to FxCop executable FxCopCmd.exe. By default SPCAF searches for FxCopCmd.exe at the typical installation locations of FxCop. |
FxCopDirectories | List of directories (separated by ';') in which FxCop searches for referenced assemblies. |
FxCopRuleSets | List of FxCop rule set files (separated by ';'). By default SPCAF uses the MSOCAF.ruleset to limit the number of applied rules to a recommended set for SharePoint. |
comments powered by Disqus
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |