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

  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <IsPackable>false</IsPackable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.2" />
    <PackageReference Include="coverlet.collector" Version="6.0.4" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
    <PackageReference Include="xunit" Version="2.9.3" />
    <PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
  </ItemGroup>

  <ItemGroup>
    <Using Include="Xunit" />
  </ItemGroup>

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

  <PropertyGroup>
    <!-- Exclude non-behavioral generated assets from coverage -->
    <ExcludeByFile>**/Migrations/*.cs;**/Migrations/**/*.cs;**/AppDbContextModelSnapshot.cs;**/AppDbContext.cs</ExcludeByFile>
    <Exclude>[GameList]GameList.Data.Migrations.*;[GameList]GameList.Contracts.*;[GameList]GameList.Domain.*</Exclude>
  </PropertyGroup>

</Project>
