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