Add *.cshtml for UpToDateCheckInput for VS
This commit is contained in:
parent
dcbd7a27eb
commit
af0085f550
|
|
@ -18,5 +18,9 @@
|
||||||
<Compile Update="**\*.cshtml">
|
<Compile Update="**\*.cshtml">
|
||||||
<Generator>MSBuild:BlazorCompileRazorComponents</Generator>
|
<Generator>MSBuild:BlazorCompileRazorComponents</Generator>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|
||||||
|
<!-- Instruct VS to include cshtml files in its "fast up-to-date check". If we didn't, then
|
||||||
|
it will skip the build entirely if you only changed cshtml files. -->
|
||||||
|
<UpToDateCheckInput Include="$(ProjectDir)**\*.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue