How to get the project name of source document

Nov 23, 2012 at 11:34 AM

I am writing custom rules using StyleCop SDK. I need to get the name of visual studio project where the checked element resides. Is there any way to get this?
The "element.Document.SourceCode.Project.Location" way don't work.

Dec 3, 2012 at 6:38 PM

Hello HottDog, I don't have your answer but I would like to know if you can tell me where can I get started to write custom StyleCop rules. I can't find any tutorial/how-to/etc...


Dec 7, 2012 at 6:35 AM

You can use this links as start point


Dec 7, 2012 at 10:00 AM

Thanks a lot!

Apr 25, 2013 at 12:33 AM
Hi HottDog,

Did you figure out how to?
I would be interested in the answer.