run_bp_check
Run Microsoft Best Practices checker on Dynamics 365 Finance and Operations projects to identify BP warnings and errors with specific rule codes for code quality improvement.
Instructions
Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes (e.g. BPErrorLabelIsText, BPXmlDocNoDocumentationComments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Check several objects in ONE call — preferred over targetFilter. Shared preamble is printed once and findings are grouped per object. | |
| modelName | No | Model name to check. Auto-detected if omitted. | |
| packagePath | No | PackagesLocalDirectory root path. Auto-detected if omitted. | |
| projectPath | No | Absolute path to the .rnrproj file to analyze. Auto-detected if omitted. | |
| targetFilter | No | Single-object form: object name to check. Use objects[] for more than one. | |
| targetElementType | No | Element type for targetFilter. Looked up in the symbol index if omitted; ambiguous or unknown names error rather than being assumed to be a class. |