-
Notifications
You must be signed in to change notification settings - Fork 12.8k
It is unclear to me how tsconfig.json is used in Visual Studio 2015 #3983
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
Comments
Sorry for the confusion.. we are working on cleaning this up. An easy way to think of this, is a project file (.csprox, .jsproj, .vbproj or .njsproj) and a tsconfig.json are mutually exclusive. if you have a project file the tsconfig is ignored. if you want to use a tsconfig file, do not use a project. In the future, i would see us adding an option in the project property pages to allow you to use tsconfig or not, and if so, the project property pages will all be grayed out.. |
tsconfig.json is only supported in Asp.net 5 and Cordova projects currently. Since neither has a Project Properties for TypeScript they won't conflict, and tsconfig.json will take precedence. To enable Compiler on Save, you need to enable Compile on Save for files that are not part of a project, in the Tools/Options/Text Editor/TypeScript. We plan to have more comprehensive support in 1.6. |
Closing this as we're using #4161 to track this. |
Jan 2018, this is still a issue. Every single official documentation and blog talks about tsconfig.json file, and nothing about how to configure the same in the project. |
@ltlombardi i am not sure i understand your issue. this issue has been closed over 3 years ago. Please file a new issue, and include enough context for use to investigate |
@mhegazy thank you. ;-) I'll do that |
It is unclear to me how tsconfig.json is used in Visual Studio 2015. And what happens when the TypeScript panel in the Project Properties conflicts? Does switching to use tsconfig.json kill features like Save-On-Compile?
The text was updated successfully, but these errors were encountered: