I wrote some custom rules in C#, following the step-by-step instructions I've found on this site. When I try to run Code Analysis in visual-studio-2013, I get a CA0054 error in the CA result pane.
I would like to debug my rule, as the exception obviously is thrown from it. However, I can't figure out how to do that. I tried to attach a new instance of Visual Studio to the other running instance, but it doesn't work.
There are lots of resources on the web on debugging custom rules but they're all for the old version of FxCop, with the separate GUI and everything. I don't think that it's relevant to my case.
Am I missing something here?
I've found my answer here:
How to write custom static code analysis rules and integrate them into Visual Studio 2010