-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Enable/disable implicit TS files references in Visual Studio #6834
Comments
StackOverflow seems like the right place for questions. this repo is mainly for compiler/language bugs. |
My recommendation would be to add a tsconfig.json to your folder. see https://github.com/Microsoft/TypeScript/wiki/tsconfig.json |
@mhegazy Thank you for a quick answer! I read about tsconfig.json and "Virtual Projects" but nobody mentioned that it alters TS files reference behavior in Visual Studio. |
Please give TS 1.8-beta a try. we have added support for tsconfig.json as main driver for project information, so things should be much more intuitive. |
So, I tested tsconfig.json with TS 1.8-beta Visual Studio plugin and it worked as expected. Implicit references are not used anymore and each file must contain "reference" tags to required files. VS shows errors as expected. |
As a developer I'd like to be able to enable/disable implicit referencing of TS files in Visual Studio.
I described my issue on SO in more details.
Long story short: references are still required to generate correctly concatenated JS result file but because of implicit TS files referencing it is pretty hard to track whether references are correct.
The text was updated successfully, but these errors were encountered: