Using Visual Studio 2015 and a asp.net core project and angular2 (rc1) with typescript.
I am having a major issue with Angular2 and the new paths @angular/core for instance.
the problem is that the typescript compiler cant find @angular directive. and i cant find any way to fix this. so question is how do i make the visual studio compiler understand where to look for the angular files. or is it not even possible to do so?
import {ROUTER_PROVIDERS} from '@angular/router'; // this gives error
import {HTTP_PROVIDERS} from '@angular/http';
import { AppComponent } from './app.component'; // this works
bootstrap(AppComponent, [ROUTER_PROVIDERS, HTTP_PROVIDERS]);
error message is: Error TS2307 Build: Cannot find module '@angular/router'.
The application is working even with these compile errors. since the script files are included from the npmcdn.com repository.