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

  <!--
    Test project for the WPF host's pure-logic services (OperatorPresetStore,
    OutputNameTemplate, NotesService, OSC parser). Targets net8.0-windows
    because TeamsISO.App is net8.0-windows + WinExe — a pure net8.0 test
    project can't reference it.

    We DON'T reference WPF or System.Windows here — the tests cover services
    that are intentionally framework-free even though they live in the host
    assembly. Future test cases that touch WPF types (e.g. WriteableBitmap)
    would need <UseWPF>true</UseWPF> added.
  -->
  <PropertyGroup>
    <TargetFramework>net8.0-windows</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>

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

  <ItemGroup>
    <PackageReference Include="coverlet.collector" Version="6.0.0">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="FluentAssertions" Version="6.12.0" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
    <PackageReference Include="xunit" Version="2.5.3" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
  </ItemGroup>

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

  <ItemGroup>
    <ProjectReference Include="..\..\TeamsISO.App\TeamsISO.App.csproj" />
  </ItemGroup>

</Project>
