FxCop turned on for command line build

Oct 9, 2010 at 4:25 PM
Edited Oct 9, 2010 at 5:19 PM

FYI, we have turned on the RunCodeAnalysis flag for the following projects: NuPack.Core, NuPack.Console, NuPack.TeamFoundationServer, NuPack.VisualStudio, PowerShellHost. I will enable it for the rest of the projects in the next couple of days.

One thing to note is that code analysis will only run when you build via command line (build.exe). It will not run within VS.

So from now on, please make sure you run build.exe with your changes before sending a pull request. We will decline your requests if build.exe fails with any FxCop errors, in addition to compiler errors of course.

Developer
Oct 9, 2010 at 6:43 PM
Or failed tests :D