title: How to run multiple tasks in VS Code on build?
body: <p>Using <code>tasks.json</code> version 2.0.0, I have not been able to make it so that, when I build my application, multiple tasks are run at the same time. I'm using gulp for my SCSS compilation, and running my <code>Compile/minify cms.scss</code> task on its own works fine, so it's not a problem with the task itself, just VS Code's task runner. When I <code>Run Build Task</code> in VS Code, my gulp task is not being run, even though it has <code>&quot;group&quot;: &quot;build&quot;</code> — only the <code>dotnet</code> one is.</p>
  <h3><code>tasks.json</code></h3>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;version&quot;: &quot;2.0.0&quot;,
      &quot;tasks&quot;: [
          {
              &quot;label&quot;: &quot;build&quot;,
              &quot;command&quot;: &quot;dotnet&quot;,
              &quot;type&quot;: &quot;process&quot;,
              &quot;args&quot;: [
                  &quot;build&quot;,
                  &quot;${workspaceFolder}/HpsCoreWeb.csproj&quot;
              ],
              &quot;problemMatcher&quot;: &quot;$msCompile&quot;,
              &quot;group&quot;: {
                  &quot;kind&quot;: &quot;build&quot;,
                  &quot;isDefault&quot;: true
              }
          },
          {
              &quot;label&quot;: &quot;Compile/minify cms.scss&quot;,
              &quot;type&quot;: &quot;gulp&quot;,
              &quot;task&quot;: &quot;cms.scss:cms.min.css&quot;,
              &quot;problemMatcher&quot;: &quot;$node-sass&quot;,
              &quot;group&quot;: &quot;build&quot;
          }
      ]
  }
  </code></pre>
  <p>According to the <a href="https://code.visualstudio.com/docs/editor/tasks#_custom-tasks" rel="noreferrer">VS Code Tasks documentation</a>:</p>
  <blockquote>
  <p><strong>group</strong>: Defines to which group the task belongs. In the example, it belongs to the <code>test</code> group. Tasks that belong to the test group can be executed by running <strong>Run Test Task</strong> from the <strong>Command Palette</strong>.</p>
  </blockquote>
  <p>The <code>dotnet build</code> task is succeeding, so shouldn't the other task, which is also part of the <code>build</code> group, be run as well? What am I doing wrong?</p>