Add .razor files to UpToDateCheckInput (dotnet/aspnetcore-tooling#359)
Fixes https://github.com/aspnet/AspNetCore/issues/8181\n\nCommit migrated from da168188b4
This commit is contained in:
parent
1d53925b8e
commit
31e916cdfd
|
|
@ -299,6 +299,12 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
-->
|
||||
<UpToDateCheckInput Condition="'$(RazorCompileOnBuild)'=='true'" Include="@(Content->WithMetadataValue('Extension', '.cshtml'))" />
|
||||
|
||||
<!--
|
||||
Add all .razor files to UpToDateCheckInput. Component compilation is not controlled by RazorCompileOnBuild,
|
||||
which is why this itemgroup is unconditional.
|
||||
-->
|
||||
<UpToDateCheckInput Include="@(Content->WithMetadataValue('Extension', '.razor'))" />
|
||||
|
||||
<!--
|
||||
Add Razor output files to UpToDateCheckBuilt - a collection of files used by FastUpToDateCheck to determine
|
||||
if any of the project's outputs have changed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue