Is it possible to run StyleCop on just 1 file in a project?
Is it 开发者_StackOverflow中文版possible to run StyleCop on just 1 file in a project?
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
精彩评论