StyleCop, messages for a file only?
I started using 开发者_运维知识库stylecop, for new project it's working out fine when we are checking for warnings as we write.
But for existing projects where there are hundreds of warnings, it's not even usable as it's almost impossible to see warnings only on that file.
Is there any way i can see warning for file i am running stylecop on?
In VisualStudio you should be able to right click the open file (editor) and select the popup menu entry Run StyleCop. Then StyleCop should only check this current file.
精彩评论