title: Visual Studio 2015, Typescript and angular2 with tsconfig.json
body: <p>I've been trying out the latest build of Angular2 (2.0.0-alpha.44) along with Visual Studio 2015.  Here are the versions of everything I'm using that are relevant to this issue:</p>
  
  <ul>
  <li>Visual Studio 2015</li>
  <li>Asp.NET 5</li>
  <li>Typescript 1.6</li>
  <li>Resharper 10</li>
  <li>Angular 2.0.0-alpha.44</li>
  </ul>
  
  <p>Here's my solution:</p>
  
  <p><a href="https://i.stack.imgur.com/9jq4m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9jq4m.png" alt="solution explorer"></a></p>
  
  <p>All my typescript is in the /Ts directory, which also has a <strong>tsconfig.json</strong> file.  This makes Visual Studio display a 'typescript virtual project'</p>
  
  <p><a href="https://i.stack.imgur.com/G0CmO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G0CmO.png" alt="tsconfig.json"></a>
  <a href="https://i.stack.imgur.com/awrmo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/awrmo.png" alt="solution with ts virtual project"></a></p>
  
  <p>As soon as I put the <code>import {Component, bootstrap} from "angular2/angular2";</code> line into my <em>main.ts</em>, it finds the angular2 library files in my <code>node_modules</code> directory and displays those too (not sure what the flattened directory structure is all about though)</p>
  
  <p><a href="https://i.stack.imgur.com/2M5KM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2M5KM.png" alt="ts resharper warning"></a></p>
  
  <p>At this point, the typescript compiler will compile that single file (main.ts).  However, it is no longer compiling any of the other .ts files in that folder, (which it was prior to bringing angular2 in), and it doesn't place the output in the specified <code>outFile</code> location from my <em>tsconfig.json</em></p>
  
  <p>Resharper is indicating there's a problem finding the <code>Component</code> and <code>bootstrap</code> references, yet the tooltip also seems to understand what the signatures for those are.  Not sure how both can be true.</p>
  
  <p>If I remove angular2 from the equation, typescript happily follows all the settings in my tsconfig.json, compiles all the .ts files into <em>app.js</em> and puts it in <code>../wwwroot/js/app.js</code></p>
  
  <p><a href="https://i.stack.imgur.com/makDa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/makDa.png" alt="ts resharper warning with tooltip"></a></p>
  
  <p>Has anyone had any success getting VS2015, typescript, and angular2 to play nicely together?</p>