-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSC fails when having Angular2 referenced in Visual Studio project #6087
Comments
The default |
Thank you for enlightening me on this. I see. Please allow me these follow-up questions:
|
I just moved the I wonder how the statement given in #3645 ("you can have multiple tsconfig today, each pointing to overlapping set of files. so one at src\tsconfig.json, one in tests\tsconfig.json, etc.") will actually be working. |
You can feed options into
Unfortunately not as of present, though @paulvanbrenk might want a heads up on that.
I'm not entirely certain; As a follow up, let me just confirm the major problem here: the Angular 2 |
I'm not sure I'm fully following. Are you able to provide the project so I can load it up and see what is happening first hand? Is this only a problem if the If interested, I just got a skeleton ASP.NET 5 RC with Angular2 Beta solution running VS2015. I uploaded it to https://github.com/billti/ASPNET5-with-Angular2 . Take a look and see if anything in here helps in terms of configuration or setup. |
Yes, it looks like the error still appears after having set the "exclude" config setting:
The actual project I'm working with within this solution is @ "...\samples\Multiple Projects Sample\Clients\AngularClient" |
After having set tsconfig.json according to documentation, TSC fails, claiming that it required Angular2 TypeScript sources:
Angular2 isn't part of my project. Providing a
rootDir
option to tsconfig.json should even confirm that the Angular2 sources are not supposed to be compiled by TSC.The default Visual Studio TSC configuration should exclude
node_modules
path by default. Why does it still try to compile the Angular2 module?The text was updated successfully, but these errors were encountered: