title: TFSBuild: Disabling Code-Analysis for one project
body: <p>We have a large VS2012 solution (~250 projects) that is 90% C#. 2 of the 3 C++ projects use the 'v110' Platform Toolset. The third has to use the 'v110_xp' toolset for compatibility with a third party library.  Our nightly TFS (2012) build is configured with 'Perform Code Analysis' set to <strong>Always</strong>.</p>
  
  <p>Unfortunately, the v110_xp platform does not support code analysis (<a href="http://blogs.msdn.com/b/vcblog/archive/2012/10/08/windows-xp-targeting-with-c-in-visual-studio-2012.aspx" rel="nofollow" title="link">MSDN Blog</a>).  This results with the following build failure:</p>
  
  <blockquote>
    <p><strong>Microsoft.Cpp.Win32.v110_xp.targets(28,5): error MSB8026: Static analysis is not supported with the current platform toolset.</strong></p>
  </blockquote>
  
  <p>Any ideas how we can prevent code analysis from running on this single project without enabling (by default) code analysis for all projects (except the one)?</p>