<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>$(AspNetTestTfm)</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\blazorwasm\blazorwasm.csproj" />
  </ItemGroup>

  <!-- Based on .NET 8 breaking change: Add SC like old behavior if RID is defined. -->
  <PropertyGroup Condition="'$(RuntimeIdentifier)' != '' and '$(SelfContained)' == ''">
    <SelfContained>true</SelfContained>
  </PropertyGroup>

  <!-- Enabling compression increases build time. We want to avoid this for tests so we
  disable it here. This doesn't affect any test assertions. -->
  <PropertyGroup>
    <_BlazorBrotliCompressionLevel>NoCompression</_BlazorBrotliCompressionLevel>
  </PropertyGroup>

</Project>
