问题
Is it possible to run StyleCop on just 1 file in a project?
回答1:
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
来源:https://stackoverflow.com/questions/1887776/is-it-possible-to-run-stylecop-on-just-1-file-in-a-project