Add *.cshtml for UpToDateCheckInput for VS

This commit is contained in:
Steve Sanderson 2018-02-15 16:14:48 +00:00
parent dcbd7a27eb
commit af0085f550
1 changed files with 4 additions and 0 deletions

View File

@ -18,5 +18,9 @@
<Compile Update="**\*.cshtml">
<Generator>MSBuild:BlazorCompileRazorComponents</Generator>
</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>
</Project>