The StyleCop 4.7 SA1210 and SA1211 rules require that the use directives be sorted alphabetically. I ran into a conflict between the StyleCop rule and the applied Resharper sort: case sensitivity.
Resharper 8.2 is case-insensitive, while the StyleCop rule requires case-sensitive sorting. So, I came across a strange case with the following directives due to the wrong choice of namespace (not mine):
using AB.Common; using ab.Utility;
First, press ctrl-EF; but the rule requires the utility to be first because of the difference between AB and ab. I walked past him, removing the StyleCop rule and simply allowing Reharper reformat. Of course, the namespace itself needs to be reorganized, but I do not have this option.
Any other opinions on how to handle this other than disabling the StyleCop rule?
source share