Reputation: 81262
Is it possible to run StyleCop on just 1 file in a project?
Upvotes: 10
Views: 2569
Reputation: 687
Yes, by selecting "Run StyleCop" from the context menu of the .cs file, not from the Tools menu or the project's context menu.
http://cleartopartlycloudy.blogspot.com/2009/06/stylecop-with-single-file.html
Upvotes: 9