Search code examples
stylecop

Is it possible to run StyleCop on just 1 file in a project?


Is it possible to run StyleCop on just 1 file in a project?


Solution

  • 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