This project is read-only.

Excluded files not being excluded in the IDE

May 14, 2012 at 12:07 AM


I have configured some of my files to be excluded from StyleCop analysis by setting ExcludeFromStyleCop in the project file. However this setting appears to be ignored when running StyleCop from within the IDE. My expectation was that when running StyleCop on a particular file this setting would be ignored, but when running it on either the project or the solution then it would be obeyed.

Is this by design? If so, is there an alternative way to exclude these files from being analysed within the IDE?


May 14, 2012 at 12:33 AM

OK - it seems to work fine with File Lists, is the project setting ExcludeFromStyleCop no longer supported?


May 14, 2012 at 1:06 PM


This should work fine as you've described. Can you Copy to Work Item please and attach a sample sln and simple repro steps please.