-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Description
The documentation suggests adding a <PrepareForBuildDependsOn>...</PrepareForBuildDependsOn> section to integrate TypeScript compilation into the project, however doing so will cause the PreComputeCompileTypeScriptWithTSConfig task to be skipped, possibly because the tsconfig.json file is not yet available in the content file list at that stage in the build? The end result is that tsconfig.json cannot be used when the PrepareForBuildDependsOn element is added as instructed in the documentation.
This is potentially additionally a more critical issue in the .net 9 SDK, as it appears the build will error at the static file fingerprinting stage if the PrepareForBuildDependsOn element is NOT added.
Page URL
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/razor-pages/ui-class.md
Document ID
fd116d00-0dc7-efaf-c714-34d77b345a05