<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <IsPackable>false</IsPackable>
    <RootNamespace>k8s.Tests</RootNamespace>
    <TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net8.0;net9.0</TargetFrameworks>
    <TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net8.0;net9.0;net48</TargetFrameworks>
  </PropertyGroup>

  <ItemGroup>
      <PackageReference Include="MartinCostello.Logging.XUnit" />
      <PackageReference Include="FluentAssertions" />
      <PackageReference Include="Microsoft.Extensions.Logging" />
      <PackageReference Include="System.IO.Abstractions.TestingHelpers" />
      <PackageReference Include="System.Reactive" />
      <PackageReference Include="Nito.AsyncEx" />
      <PackageReference Include="Portable.BouncyCastle" />
  </ItemGroup>

  <ItemGroup>

    <PackageReference Include="Microsoft.NET.Test.Sdk" />
    <PackageReference Include="xunit" />
    <PackageReference Include="xunit.runner.visualstudio">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Xunit.StaFact" />
    <PackageReference Include="Moq" />
  </ItemGroup>
  
  <ItemGroup>
    <Reference Include="System.Net.Http" Condition="'$(TargetFramework)' == 'net48'" />
  </ItemGroup>  

  <ItemGroup>
    <ProjectReference Include="..\..\src\KubernetesClient.Classic\KubernetesClient.Classic.csproj" />
  </ItemGroup>
</Project>
