Need help to execute StyleCop from CustomMenu in VS

May 31, 2012 at 11:17 AM

Hi,

I have my visual studio add-in (written in C#) which has some custom menu. On click on this custom menu, along with other processing, i wish to execute stylecop. Means, all things that happens on click of "Run StyleCop" will be done and Display error list in Visual Studio IDE.

Anyhelp or pointers really appreciated.

Regards

Sharad

Coordinator
May 31, 2012 at 12:26 PM

Hi,

StyleCop does this already and so the full source code is yours to look through from here http://stylecop.codeplex.com/SourceControl/list/changesets