CodeAnalysis and Testing - Ugh

I wasn't able to get any testing around my custom rule. That sucks. It's just so hard to get the common classes in FxCopCommon.dll initialized correctly - I got close, but no cigar. If I have time I'll try to get farther down the rabbit hole, but I needed to get the rule up and running, and I was (finally!) able to do that.

Still, I really hope that the Code Analysis API is finally made public in the next version of VS and we call all start writing custom rules with ease (and that have tests around them). Until then, it'll be a bit of a struggle.

* Posted at 03.30.2008 09:51:57 PM CST | Link *

Blog History