The typescript integration should also include the following bit.
<Target Name="RemoveDeletedTypeScriptOutputsFromContent" AfterTargets="TypeScriptDeleteCompilerOutput">
<ItemGroup>
<Content Remove="@(Content)" Condition="!Exists('%(FullPath)') And ('%(Extension)' == '.js' Or '%(Extension)' == '.map')" />
</ItemGroup>
</Target>
Description
The typescript integration should also include the following bit.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/razor-pages/ui-class?view=aspnetcore-10.0&tabs=visual-studio#typescript-integration
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/razor-pages/ui-class.md
Document ID
fd116d00-0dc7-efaf-c714-34d77b345a05
Platform Id
8edf3568-d182-224b-b7b2-4de60e04d74a
Article author
@tdykstra
Metadata
Related Issues