You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Controls whether or not the scoped css feature is enabled. By default is enabled for net5.0 applications and RazorLangVersion 5 or above -->
114
-
<ScopedCssEnabledCondition="'$(ScopedCssEnabled)' == '' and '$(StaticWebAssetsEnabled)' == 'true'">$(_TargetingNET50OrLater)</ScopedCssEnabled>
115
-
116
-
<JSModulesEnabledCondition="'$(JSModulesEnabled)' == '' and '$(StaticWebAssetsEnabled)' == 'true'">$(_TargetingNET60OrLater)</JSModulesEnabled>
117
106
</PropertyGroup>
118
107
119
-
120
108
<PropertyGroup>
121
109
<!--
122
110
The property IsRazorCompilerReferenced is defined by the 2.x Razor.Design package. We can use this as a best guess to determine if a project is targeting 2.x or earlier.
@@ -398,22 +386,6 @@ Copyright (c) .NET Foundation. All rights reserved.
<!-- These targets are not imported in the outer multi targeting build. This happens alredy because 'StaticWebAssetsEnabled' will be false, but even if the user turns it
402
-
on unconditionally in their csproj file (very rare, undocumented, but possible), these targets should not be imported in the outer cross targeting build.
403
-
-->
404
-
<ImportProject="Microsoft.NET.Sdk.Razor.StaticWebAssets.5_0.targets"Condition="'$(UseStaticWebAssetsV2)' != 'true' And '$(StaticWebAssetsEnabled)' == 'true' And '$(IsCrossTargetingBuild)' != 'true'" />
405
-
<ImportProject="Microsoft.NET.Sdk.Razor.StaticWebAssets.targets"Condition="'$(UseStaticWebAssetsV2)' == 'true' And '$(StaticWebAssetsEnabled)' == 'true' And '$(IsCrossTargetingBuild)' != 'true'" />
406
-
407
-
<!-- These targets are only included on multi targeting builds and will be imported even if static web assets are disabled. Even though the file is imported,
408
-
the targets inside will no-op as all their work depends on nested MSBuild calls to the project where static web assets will not be enabled.
<!-- Determines if the StaticWebAssets Sdk is responsible for importing Microsoft.NET.Sdk. Microsoft.NET.Sdk.Web may have previously imported this. -->
0 commit comments