title: MSBuild 15.0 (Visual Studio 2017) error MSB4067 for SSDT (SSRS and SSAS) projects: "The element <State> beneath element <Project> is unrecognized"
body: <p>MSBuild 14.0 (the version included with Visual Studio 2015) logs warnings (MSB4078) when building a solution which contains SSDT projects (rptproj or dwproj projects). For example:</p>
  
  <blockquote>
    <p>warning MSB4078: The project file "Reports.rptproj" is not supported by MSBuild and cannot be built.</p>
  </blockquote>
  
  <p>This is fine, MSBuild does not support SSDT projects, and we have to fall back to building them with Visual Studio (i.e. <code>devenv.com</code>). See, for example, <a href="https://stackoverflow.com/a/39384678/5513562">this answer</a>.</p>
  
  <p>When using MSBuild 15.0 (the version included with Visual Studio 2017), however, building the same solution file gives the following <strong>error</strong>:</p>
  
  <blockquote>
    <p>Reports.rptproj(3,3): error MSB4067: The element &lt;State&gt; beneath element &lt;Project&gt; is unrecognized.</p>
  </blockquote>
  
  <p>While I <em>could</em> remove the SSDT projects from the build configuration, that is not ideal, as I want them to be built when building the solution from within Visual Studio.</p>
  
  <p>Is there a way to downgrade the error MSB4067 to a warning, or to skip certain projects when building a solution?</p>