This project is read-only.

Unable to use custom rules with Stylecop

Feb 6, 2012 at 5:04 PM

I've got some custom rules, and each time I upgrade stylecop I need to recompile them so that stylecop found and use them

This works fine for stylecop 4.4, 4.6.3, 4.7.4 and 4.7.6

However, when I recompiled my dll against stylecop 4.7.8 and try to use it, stylecop 4.7.8 don't found it. Under visual studio, my custom rules doesn't appear in the configuration tool. Resharper and "run stylecop" command doesn't execute my custom rules

Is there any recent change in stylecop that could produce this problem, or I'm missing something ?

Feb 6, 2012 at 6:33 PM


No, I don't think so. Not between 4.7.6 and latest.

Feb 6, 2012 at 6:41 PM

Sorry, I've just found my error when downgrading

An old version of my custom rules dll was In the root folder of stylecop.dll while I used to copy it in a subfolder

After cleaning all this it's works fine :)