2026-05-10 09:41:33 -04:00
|
|
|
<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.
|
|
|
|
|
|
2026-05-15 20:52:36 -04:00
|
|
|
Tests cover services that are mostly framework-free, but
|
|
|
|
|
ControlSurfaceServer transitively references System.Windows.Threading
|
|
|
|
|
(DispatcherTimer) and System.Windows.Application — UseWPF=true pulls
|
|
|
|
|
in those types so test code compiles against the App's project
|
|
|
|
|
reference without "could not load type" errors at run time.
|
2026-05-10 09:41:33 -04:00
|
|
|
-->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<Nullable>enable</Nullable>
|
2026-05-15 20:52:36 -04:00
|
|
|
<UseWPF>true</UseWPF>
|
2026-05-10 09:41:33 -04:00
|
|
|
|
|
|
|
|
<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>
|