title: How can I exclude a project from a build in MSBuild?
body: <p>I need to build a solution, but exclude one project. How should I do it?</p>
  <p>I searched a lot about this issue, but nothing could help.</p>
  <p>An <strong>ItemGroup</strong> section rises the following exception:</p>
  <blockquote>
  <p>Invalid element . Unknown task or datatype.</p>
  </blockquote>
  <p><strong>PropertyGroup</strong> also rises the exception.</p>
  <p>Below is my code sample:</p>
  <pre><code>&lt;project name=&quot;TI 8.1.6 build script&quot;&gt;
    &lt;ItemGroup&gt;
      &lt;Solution Include=&quot;${ROOT}\Core\TI Core.sln&quot; Exclude=&quot;${ROOT}\Utilities\DTS Indexing Service\Tdi.Origami.IndexUpdaterServiceSetup\Tdi.Origami.IndexUpdaterServiceSetup.wixproj&quot;/&gt;
    &lt;/ItemGroup&gt;
  ...
  &lt;/project&gt;
  </code></pre>
  <p>How can I do this?</p>