title: Fail build on static code analysis warnings with msbuild and bamboo
body: <p>Using bamboo v5.7 with msbuild v12, how do I fail a build if there are any static code analysis warnings? We do have our projects all set to treat all warnings as errors so the project itself doesn't build, but bamboo is not detecting this and continues on.</p>
  
  <p>This seems basic, what might I be doing wrong?</p>