microsoft / microsoft/TypeScript

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

Offen
#53,795 27 Kommentare 2 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@joj arbeitet bereits daran.

Seit 17.4.2023.

Needs Investigation
Vorherrschende Sprache
Go
Sterne
111k
Forks
14.4k
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
117

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.