Visual Studio not compiling TypeScript : <p>I have a Visual Studio project with a structure like so:</p>

<p><a href="https://i.stack.imgur.com/AQn7A.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AQn7A.png" alt="Folder structure"></a></p>

<p>My <code>tsconfig.json</code> looks like:</p>

<pre><code>{
  "compilerOptions": {
    "noImplicitAny": false,
    "noEmitOnError": true,
    "removeComments": false,
    "sourceMap": true,
    "target": "es5",
    "outDir": "../wwwroot/"
  },
  "exclude": [
    "node_modules",
    "wwwroot"
  ]
}
</code></pre>

<p>However, VS isn't compiling the <code>app.ts</code> into the <code>wwwroot</code> folder.</p>

<p>What am I missing?</p>
