Improved support for tsconfig.json in Visual Studio 2015
TypeScript 1.8 allows tsconfig.json
files in all project types.This includes ASP.NET v4 projects, Console Application, and the Html Application with TypeScript project types.Further, you are no longer limited to a single tsconfig.json
file but can add multiple, and each will be built as part of the project.This allows you to separate the configuration for different parts of your application without having to use multiple different projects.
We also disable the project properties page when you add a tsconfig.json
file.This means that all configuration changes have to be made in the tsconfig.json
file itself.
A couple of limitations:
- If you add a
tsconfig.json
file, TypeScript files that are not considered part of that context are not compiled. - Apache Cordova Apps still have the existing limitation of a single
tsconfig.json
file, which must be in either the root or thescripts
folder. - There is no template for
tsconfig.json
in most project types.