Enable the compatibility analyzer for Blazor WebAssembly (#24978)
See https://github.com/dotnet/sdk/pull/12872#issuecomment-673783153
This commit is contained in:
parent
b22512de0e
commit
c6814f4f4d
|
|
@ -69,6 +69,12 @@ Copyright (c) .NET Foundation. All rights reserved.
|
|||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Configuration for the platform compatibility analyzer. See https://github.com/dotnet/designs/blob/master/accepted/2020/platform-exclusion/platform-exclusion.md#build-configuration-for-platforms -->
|
||||
<SupportedPlatform Remove="@(SupportedPlatform)" />
|
||||
<SupportedPlatform Include="browser" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Microsoft.NET.Sdk.BlazorWebAssembly.ServiceWorkerAssetsManifest.targets" Condition="'$(ServiceWorkerAssetsManifest)' != ''" />
|
||||
|
||||
<Target Name="_ScrambleDotnetJsFileName" AfterTargets="ResolveRuntimePackAssets">
|
||||
|
|
|
|||
Loading…
Reference in New Issue