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

    <PropertyGroup>
        <TargetFramework>net6.0</TargetFramework>
      <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
      <AssemblyName>NL.Rijksoverheid.ExposureNotification.BackEnd.MobileAppApi.Tests</AssemblyName>
      <RootNamespace>NL.Rijksoverheid.ExposureNotification.BackEnd.MobileAppApi.Tests</RootNamespace>
      <IsPackable>false</IsPackable>
	  <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
    <EnableNETAnalyzers>true</EnableNETAnalyzers>
    </PropertyGroup>

    <ItemGroup>
        <PackageReference Include="EFCore.BulkExtensions" Version="6.5.4" />
        <PackageReference Include="EFCore.NamingConventions" Version="6.0.0" />
        <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.5" />
        <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.5" />
        <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.5">
          <PrivateAssets>all</PrivateAssets>
          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
        <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.5" />
        <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.5">
          <PrivateAssets>all</PrivateAssets>
          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
        <PackageReference Include="Microsoft.Extensions.Caching.SqlServer" Version="6.0.5" />
        <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="6.0.0" />
        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
        <PackageReference Include="Moq" Version="4.18.1" />
        <PackageReference Include="coverlet.collector" Version="3.1.2">
          <PrivateAssets>all</PrivateAssets>
          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
        <PackageReference Include="Npgsql" Version="6.0.5" />
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.5" />
        <PackageReference Include="Serilog" Version="2.11.0" />
        <PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
        <PackageReference Include="Serilog.Sinks.Trace" Version="3.0.0" />
        <PackageReference Include="xunit" Version="2.4.1" />
        <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
          <PrivateAssets>all</PrivateAssets>
          <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
    </ItemGroup>

    <ItemGroup>
      <ProjectReference Include="..\..\..\src\Content.EntityFramework\Content.EntityFramework.csproj" />
      <ProjectReference Include="..\..\..\src\MobileAppApi.WebApi\MobileAppApi.WebApi.csproj" />
    </ItemGroup>

    <ItemGroup>
      <None Remove="payload.json" />
      <None Remove="Resources\payload-ancient-TEKs.json" />
      <None Remove="Resources\payload-duplicate-TEKs-KeyData.json" />
      <None Remove="Resources\payload-duplicate-TEKs-RSN-and-RP.json" />
      <None Remove="Resources\payload-duplicate-TEKs-RSN.json" />
      <None Remove="Resources\payload-good00.json" />
      <None Remove="Resources\payload-good01.json" />
      <None Remove="Resources\payload-good14.json" />
      <None Remove="Resources\payload.json" />
    </ItemGroup>

    <ItemGroup>
      <EmbeddedResource Include="Resources\payload-good00.json" />
      <EmbeddedResource Include="Resources\payload-ancient-TEKs.json" />
      <EmbeddedResource Include="Resources\payload-duplicate-TEKs-KeyData.json" />
      <EmbeddedResource Include="Resources\payload-duplicate-TEKs-RSN-and-RP.json" />
      <EmbeddedResource Include="Resources\payload-good01.json" />
      <EmbeddedResource Include="Resources\payload-good14.json" />
      <EmbeddedResource Include="Resources\payload-duplicate-TEKs-RSN.json" />
      <EmbeddedResource Include="Resources\payload.json" />
    </ItemGroup>

</Project>
