Enable PlatformCompatibilityAnalyzer for RCL projects (#25636)
This commit is contained in:
parent
c5bcd68853
commit
0d548f302b
|
|
@ -9,6 +9,10 @@
|
||||||
<ItemGroup Condition="'$(SupportPagesAndViews)' == 'True'">
|
<ItemGroup Condition="'$(SupportPagesAndViews)' == 'True'">
|
||||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(SupportPagesAndViews)' == 'False'">
|
||||||
|
<SupportedPlatform Include="browser" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(SupportPagesAndViews)' != 'True'">
|
<ItemGroup Condition="'$(SupportPagesAndViews)' != 'True'">
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="${MicrosoftAspNetCoreComponentsWebPackageVersion}" />
|
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="${MicrosoftAspNetCoreComponentsWebPackageVersion}" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue