TypeScript: Visual Studio: Changes in .ts/.tsx files break up-to-date check until full rebuild.

Bug Report

⚠️ ⚠️ Very important performance problem for any TypeScript developer in Visual Studio, specially when using more than one probject ⚠️ ⚠️

TypeScript files afect the build, but do not produce any output in bin/obj, because of this, after succesfully compiling a Web Application (<Project Sdk="Microsoft.NET.Sdk.Web">) that uses the Nuget Microsoft.TypeScript.MSBuild to compile some ts file, if you modify a ts file, the project will be forever ignored by the up-to-date check until a .cs file is changes and a build updates the output dll.

🔎 Search Terms

Visual Studio, UpToDateCheckInput, Microsoft.TypeScript.MSBuild, FastUpToDate, WARNING: Potential build performance issue in

🕗 Version & Regression Information

Visual Studio 2022 64-bits 17.5.3 Microsoft.TypeScript.MSBuild 5.0.4 ( but I think this is old issue)

⏯ Playground Link

I was not sure if the error belongs to TypeScript or VS team. I explained the issue in full here:

https://github.com/dotnet/project-system/issues/8981

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 23 (15 by maintainers)

Commits related to this issue

Most upvoted comments

I had a talk with Drew yesterday and we believe this can indeed be fixed using sets. I’m going to give this issue to someone in my team or fix it myself. I’ll update once we have more information.

Yeah, but that’s not a thing I’m seeing anywhere on our stuff. I pinged drew on our internal systems but he’s in Australia so already on a weekend. I’ll have a chat with him and update here soonish 😃