Update src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets
This commit is contained in:
parent
c4dde35e37
commit
f733fe9967
|
|
@ -867,6 +867,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
<Target Name="_RazorSdkCustomCollectWatchItems">
|
||||
<ItemGroup>
|
||||
<Watch Include="%(Content.FullPath)" Condition="'%(Content.Extension)' == '.razor' AND '%(Content.Watch)' != 'false'" />
|
||||
<Watch Include="%(Content.FullPath)" Condition="'%(Content.Extension)' == '.razor.css' AND '%(Content.Watch)' != 'false'" />
|
||||
<Watch Include="%(Content.FullPath)"
|
||||
Condition="'$(_Targeting30OrNewerRazorLangVersion)' == 'true' AND '$(AddCshtmlFilesToDotNetWatchList)' != 'false' AND '%(Content.Extension)' == '.cshtml' AND '%(Content.Watch)' != 'false'" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue