Is there a way to show ALL the compiler warnings in Visual Studio 2010?

前端 未结 2 1698
孤城傲影
孤城傲影 2021-01-11 09:59

I\'m cleaning up a project to get rid of all the warnings, but I can only see the first 100 or so in the Error List pane.

This is a problem because we\'re using Team

相关标签:
2条回答
  • 2021-01-11 10:22

    Can't you temporarily locally do something similar to

    #pragma warning disable 
    

    in the files which are checked out by the others so you don't have to see their warnings?

    0 讨论(0)
  • 2021-01-11 10:38

    The full list of warnings should be visible in the output window. After building open the output window, switch it to the build output and you should have access to all errors emitted by the compiler.

    Note: The compiler itself still has a hard limit on the number of errors it will report for a given project (true for both VB and C#). This cannot be overridden in Visual Studio or the command line.

    0 讨论(0)
提交回复
热议问题