This project is read-only.

How to get the project name of source document

Nov 23, 2012 at 12:34 PM

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 7: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 7:35 AM

You can use this links as start point


Dec 7, 2012 at 11:00 AM

Thanks a lot!

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

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