6
Vote

StyleCop settings

description

Move settings to project file and move settings editor to project properties pages range.

comments

AArnott wrote Aug 22, 2011 at 3:20 PM

Downvote. Project files should only contain settings that impact the built binary.

davedev wrote Dec 9, 2012 at 3:51 PM

@AArnott: What makes you say that? Do you have any reference to the official documentation stating that project files are not intended for static analysis settings? Other static analysis tools add their settings to the project file; e.g., Code Analysis (FxCop) and Code Contracts. (Though in fairness, Code Contracts also has a runtime component.)

davedev wrote Dec 9, 2012 at 3:53 PM

@AArnott: Furthermore, StyleCop does have an affect on the built binary - after you fix your code to make the warnings go away. So perhaps it's just a deferred effect, but it's an effect nonetheless.