I added the following import statement to the csproj file:
<Import Project="..\..\..\packages\StyleCop 4.7\StyleCop.targets" />
This work is great, but I want the analysis of the cop style to be run in Debug builds and not in Release versions. My Google Fu does not work today, although I found that you can create a console command-line shell for StyleCopConsole and start it manually ( http://stylecopplus.codeplex.com/wikipage?title=Running%20StyleCop%20from%20Your%20Code ) , I would rather just edit the project files, if possible, so that it starts automatically in Debug assemblies.
Any idea if this is possible?
Thanks in advance!
source share