Skip to content

Visual Studio 2015/2017 .tsproj project type suggestion #14533

Closed
@ghost

Description

What I am really completely missing in VS(15/17) is a pure TypeScript project (without C# or anything else).

Why I am missing it?

The HTML App with TypeScript project is great, it allows me to develop, debug, sync repos, run gulp tasks, everything is perfect (except debugging over Chrome Debugging Protocol which is quiet complicated to achieve - in 2015, 2017 probably changes this, but I didn't try yet), but...

As I am focusing on front-end only I don't need anything else in background. I am not developing IIS modules and my back-end is separated in a different solution so I don't need C# or Asp.Net at all. Compilation of the C# code slows down build process dramatically (especially when I have multiple projects with some dependencies in the solution) and is completely useless for me. I would say developers focusing on Angular apps developing in TS in VS will agree.

So what I am basically missing is a project extension (.tsproj would sounds good :) which will allow me to:

  • Develop TypeScript Web Apps including standard web resources (html, 3rd party javascript, images, stylesheets, less/sass stylesheets, jsons, MD's, xmls... whatever is possible to do in Asp.Net app so the project items should be almost the same)
  • Multiple projects per solution with dependencies (same way as in C#) so build order is followed and it is possible to use one project as a library in another. It would be great to find a good mechanism to copy transpilled .js and .d.ts filed to consumer projects as C# is doing it. But clean should be working correctly and remove also these files :)
  • Same support for tsconfig as there is already with small change: internal support for Debug/Release configurations (I am currently using tsconfig.json, tsconfig.common.json, tsconfig.Debug.json and tsconfig.Release.json where tsconfig extends Debug or Release based on solution configuration - achieved by a prebuild script now and Debug/Release extends common to avoid need of writing same options multiple times so if this can be included it would be great)
  • CompileOnSave feature should be working for TS files, for rest of resources custom actions should be possible to execute (such as starting a batch file or .js files in Node.js to perform the custom action). This would be great for css transpilation, image processing, resource bundling and so on).
  • Build - this could be designed in the way the debugging / IIS would not need to be stopped/restarted during build (only if Debug/Release changes). Build should allow the same tasks mentioned: compilation of projects in the solution in correct order, resource processing, packaging - based on configurable custom actions (execution of some scripts during the build process - at least pre/post build)
  • Run - standard IIS Express with possibility to modify web.config and application.host config files as necessary (basically, as it works now in Asp.Net projects). Debugging of the IIS Express process itself can be omitted as there should be nothing to debug on the web server side
  • Debugging - I am fine with IE11 debugging (if I need I am using internal chrome/firefox debuggers out of VS) but it would be great to have possibility to debug over Chrome Remote Debugging Protocol as it is supported by multiple browsers
  • Configuration of browsers for start/debugging should be also possible as it is now
  • Web Publishing (the same way it works now, but just for front-end files. .dlls for IIS modules and Asp.Net applications for IIS can be omitted)
  • Repo management (the same way it works now with i.e. Git extension for VS)

Metadata

Metadata

Assignees

Labels

SuggestionAn idea for TypeScriptVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions