title: How to include TypeScript files and compile whole file in Visual Studio 2012?
body: <p>I have installed the latest version of TypeScript and also the latest version of Web Essentials. I created a new TypeScript project in VS2012.</p>
  
  <p>If have a <code>utils.ts</code>:</p>
  
  <pre><code>moduls utils
  {
      export function getNumber() {
          return 4;
      }
  }
  </code></pre>
  
  <p>And a <code>app.ts</code>:</p>
  
  <pre><code>/// &lt;reference path="utils.ts" /&gt;
  
  alert(utils.getNumber().toString());
  </code></pre>
  
  <p>The JavaScript files are both compiled seperatly. But to get <code>app.js</code> to work properly, the compiled source code of <code>utils.ts</code> has obviously to be included.</p>
  
  <p>It does work when I run <code>tsc app.ts -out app.js</code> in my console, but I do not want to run it everytime manually.</p>
  
  <p><strong>Why cannot Web Essentials do the for me?</strong></p>