Show Code Analysis warnings in VSTS

前端 未结 2 1148
礼貌的吻别
礼貌的吻别 2021-01-26 20:33

I\'ve setup Static Code Analysis on my Visual Studio Team Services builds. I\'m using the \"MSBuild\" build step for my solution and in the build logs it shows 999+ lines that s

2条回答
  •  既然无缘
    2021-01-26 20:51

    After some months of working with VSTS, my experience is as follows;

    • Code Analysis warnings will show up on the build summary
    • VSTS will only show the first 11 warnings
    • Thus, if the Code Analysis warnings are printed after 11 build warnings, they won't show up.

    We've started using Build Quality Checks to fail the build when there are more warnings compared to the baseline.

提交回复
热议问题