Menu

stylecopcli error in Azure DevOps

2020-01-13
2020-01-28
  • vishnunandan

    vishnunandan - 2020-01-13

    I was trying to scan the specific files in Azure DevOps using Stylecopcli.
    It is throwing an error even after generating the report.

    Thanks,
    Vishnu Devisetty.

     
  • Bernard Badjari

    Bernard Badjari - 2020-01-13

    Hi Vishnu.

    This is expected behaviour. An exit code of '2' indicates that code violations were found. See this excerpt from the ExitCode enumeration:

    /// <summary>
    /// Application encountered violations during analysis.
    /// </summary>
    ViolationsFound = 2
    

    Also, this project has moved to GitHub: https://github.com/bbadjari/stylecopcli

     

Log in to post a comment.

MongoDB Logo MongoDB