I have tested X++ Sample rules from Visual Studio.
Added them to: K:\AosService\PackagesLocalDirectory\bin\AppCheckerRules\X++
It turns out the tool does not like spaces in the rule file name. The following rules stopped App Checker due to that:
- Enum Compatibility.xq
- Mismatched Labels.xq
Removed the space and it worked like a charm.
The following rules failed on execution:
-
BulkEnumerationReferences.xq, 7/36:
[XPTY0004] Cannot convert empty-sequence() to xs:string: ().
-
RecursiveMethods.xq 5/26:
[XPST0003] Unexpected end of query: '>
...'.
I hope this helped.