Specify UpToDateReloadFileTypes (dotnet/aspnetcore-tooling#611)
* Specify UpToDateReloadFileTypes
Specify a list of file extensions that VS will monitor for file changes to reload the app.
Includes .razor and .cshtml files.
\n\nCommit migrated from 9a964127bf
This commit is contained in:
parent
db66452bbd
commit
66dd6b35d3
|
|
@ -12,6 +12,14 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
|
||||
<Project ToolsVersion="14.0">
|
||||
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
Defines the list of file extensions that VS will monitor to reload the application.
|
||||
We'll only define these for C# projects targeting RazorLangVersion 3.0 or later, and let VS use defaults in other cases.
|
||||
-->
|
||||
<UpToDateReloadFileTypes Condition="'$(Language)'=='C#' AND '$(_Targeting30OrNewerRazorLangVersion)' == 'true'">$(UpToDateReloadFileTypes);.cs;.razor;.resx;.cshtml</UpToDateReloadFileTypes>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
Defines the generic .NET Core 'Razor' capability.
|
||||
|
|
|
|||
Loading…
Reference in New Issue