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

  <PropertyGroup>
    <TargetFramework>net48</TargetFramework>
    <Platforms>x64</Platforms>
    <PlatformTarget>x64</PlatformTarget>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <LangVersion>latest</LangVersion>
    <IsPackable>false</IsPackable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
    <PackageReference Include="xunit" Version="2.9.2" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
    <PackageReference Include="System.Threading.Channels" Version="8.0.0" />
    <!-- Channels 8.0's net462 binary references Unsafe 6.0.0.0 but doesn't
         declare it, so the graph would otherwise resolve 4.5.3 (assembly
         4.0.4.1) and the test host dies with FileLoadException. Pin the
         assembly Channels was built against; app.config redirects the older
         requests (System.Memory / Tasks.Extensions) up to it. -->
    <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
    <PackageReference Include="PolySharp" Version="1.14.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\RioJoy.Core\RioJoy.Core.csproj" />
    <ProjectReference Include="..\..\src\RioJoy.Overlay\RioJoy.Overlay.csproj" />
  </ItemGroup>

</Project>
