Skip to content

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

Open
@olmobrutall

Description

@olmobrutall

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:

dotnet/project-system#8981

Metadata

Metadata

Assignees

Labels

Needs InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions