Always No violations encountered using Stylecop programmatically

Jan 10, 2014 at 9:58 AM
Hi,

I have a .NET 4.0 Console app with referencies to 'StyleCop.dll', 'StyleCop.SCharp.dll', 'StyleCop.CSharp.Rules.dll' (v4.7.1000.0).

All cs files is correctly added with StyleCopEnvironment.AddSourceCode(...)

With the same solution Visual Studio find 1000+ warning link SA****, but my code nothing.

I have removed my stylecop settings in the solution folder, nothing changes.

I have downloaded the tool StyleCopCli to try another way, it's the same : 'No violations encountered'.

I have read the thread : https://stylecop.codeplex.com/discussions/220546 whitout success.

if anyone has any advice to give me, I'm interested :-)

Thanks in advance
André Rios