Why are content files included in the VS2015 Typescript sample project?

I have created two different types of sample projects using VS2015. Web application (using Typescript) and Typescript application.

Both work, but there is a lot of overhead in the web application as there seem to be many .net dlls. The Typescript application is much simpler.

However, when I look at the project files for these two, I notice that the Typescript project file has a lot of Content Includes for each of the files, while the other is the minimum size project file.

Can someone explain why this is?

+3


source to share


1 answer


They are fundamentally different. Compiling a web application generates .NET assemblies for which dependencies are managed by the .NET framework, hence the presence of DLL dependencies. Compiling a TypeScript project creates js files..NET framework is not involved in managing your dependencies.



+1


source







All Articles