title: VSCode build not working - No build task defined. Mark a task with 'isBuildCommand' in the tasks.json file
body: <p>I have fresh install of VSCode, and this tiny basic TypeScript app.</p>
  
  <p>First time, when I want to build the app, VScode needs to generate tasks.json.</p>
  
  <p>And it worked long time ago before.</p>
  
  <p>Today I am getting this weird message </p>
  
  <blockquote>
    <p>No build task defined. Mark a task with 'isBuildCommand' in the tasks.json file.</p>
  </blockquote>
  
  <p>I don't remember seeing this message before. </p>
  
  <p><a href="https://i.stack.imgur.com/goVnK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/goVnK.png" alt="enter image description here"></a></p>
  
  <p>But, OK, I click <strong>Configure Build Task</strong>, select TypeScript task, and tasks.json gets generated.</p>
  
  <p><a href="https://i.stack.imgur.com/Tq8l3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Tq8l3.png" alt="enter image description here"></a></p>
  
  <p>But, what happens, after I try to build now, Ctrl+Shift+B, and <strong>I get the exact same message again</strong></p>
  
  <p><a href="https://i.stack.imgur.com/jI0Pz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jI0Pz.png" alt="enter image description here"></a></p>
  
  <p><strong>Any ideas? Thanks.</strong></p>
  
  <p>BTW, adding this setting to tasks.json doesnt solve the problem.</p>
  
  <p><a href="https://i.stack.imgur.com/7UxKe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7UxKe.png" alt="enter image description here"></a></p>