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

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <IsPackable>false</IsPackable>
  </PropertyGroup>

  <ItemGroup>
    <!-- We need the following three dependencies to support unit testing -->
    <!-- This dependency provides the test runner -->
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
    <!-- This dependency provideds the xunit annotations and assertions -->
    <PackageReference Include="xunit" Version="2.4.2" />
    <!-- This depenedency connects xunit to the test runner for both dotnet CLI and VisualStudio -->
    <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>

    <!-- This dependency provides code coverage analysis -->
    <PackageReference Include="coverlet.collector" Version="3.1.2">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>

    <ProjectReference Include="../Cantera/Cantera.csproj" />
  </ItemGroup>

</Project>
