title: RunCodeAnalysis=true not working in command prompt (MSBuild)
body: <p>I'm trying to get msbuild to output code analysis info like it does in VS. I have a configuration for my project called "CodeAnalysis" in VS that is set up to run code analysis on build (with the minimum ruleset). Anyway this is working fine in VS, but when I run msbuild from the command line it only shows the basic build warnings and it doesn't run code analysis at all. Anyone know why this is happening?</p>
  
  <p>Configuration in project file:</p>
  
  <pre><code>&lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeAnalysis|AnyCPU'"&gt;
  &lt;OutputPath&gt;bin\&lt;/OutputPath&gt;
  &lt;CodeAnalysisRuleSet&gt;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset&lt;/CodeAnalysisRuleSet&gt;
  &lt;RunCodeAnalysis&gt;true&lt;/RunCodeAnalysis&gt;
  </code></pre>
  
  <p></p>
  
  <p>Command line:</p>
  
  <pre><code>msbuild Solution.sln /p:Configuration=CodeAnalysis /t:Rebuild
  </code></pre>
  
  <p>I also tried: </p>
  
  <pre><code>msbuild Solution.sln /p:RunCodeAnalysis=true /t:Rebuild
  </code></pre>