Open
Description
AppContext switches defined in csproj are not available on runtime
<ItemGroup>
...
<RuntimeHostConfigurationOption Include="System.Runtime.OptionalFeatureBehavior"
Condition="'$(UnoptimizedUserFacingBehavior)' != ''"
Value="$(UnoptimizedUserFacingBehavior)"
Link="false" />
...
</ItemGroup>
On other platforms, they end up in runtime.config.json
. We should put them into blazor.boot.json
as that's the only config required (for both wasmbrowser and blazor experience)