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

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>

    <IsPackable>false</IsPackable>
    <IsTestProject>true</IsTestProject>
  </PropertyGroup>

  <ItemGroup>
    <None Remove="TestData\Pdfs\pdfWithSwissQRCode.pdf" />
    <None Remove="TestData\Pdfs\valid.pdf" />
    <None Remove="TestData\Pdfs\pdfWithMoreThanOneAttachment.pdf" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="TestData\Pdfs\pdfWithSwissQRCode.pdf" />
    <EmbeddedResource Include="TestData\Pdfs\valid.pdf" />
    <EmbeddedResource Include="TestData\Pdfs\pdfWithMoreThanOneAttachment.pdf" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="coverlet.collector" Version="6.0.0" />
    <PackageReference Include="FluentAssertions" Version="7.0.0" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
    <PackageReference Include="Moq" Version="4.20.72" />
    <PackageReference Include="xunit" Version="2.9.3" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
  </ItemGroup>

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

  <ItemGroup>
    <ProjectReference Include="..\DocumentOperator.API\DocumentOperator.API.csproj" />
    <ProjectReference Include="..\DocumentOperator.Domain\DocumentOperator.Domain.csproj" />
    <ProjectReference Include="..\DocumentOperator.Application\DocumentOperator.Application.csproj" />
    <ProjectReference Include="..\DocumentOperator.Infrastructure\DocumentOperator.Infrastructure.csproj" />
  </ItemGroup>

</Project>
