<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <TargetFrameworks>net8.0;net472</TargetFrameworks>
    <TargetFrameworks Condition=" '$([MSBuild]::IsOSPlatform(`Windows`))' == 'false' ">net8.0</TargetFrameworks>
    <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
    <RootNamespace>Microsoft.DotNet.SDK.Build.Helix</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Build" VersionOverride="15.7.179" />
    <PackageReference Include="Microsoft.Build.Utilities.Core" VersionOverride="15.7.179" />
    <PackageReference Include="Newtonsoft.Json" />
    <PackageReference Include="System.Reflection.Metadata" VersionOverride="$(SystemReflectionMetadataVersion)" />
    <PackageReference Include="System.Collections.Immutable" VersionOverride="$(SystemCollectionsImmutablePackageVersion)" />
    <PackageReference Include="NuGet.ProjectModel" />
  </ItemGroup>

  <!-- Global usings removal -->
  <!-- See: https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#using -->
  <ItemGroup>
    <Using Remove="FluentAssertions" />
    <Using Remove="Microsoft.NET.TestFramework" />
    <Using Remove="Microsoft.NET.TestFramework.Assertions" />
    <Using Remove="Microsoft.NET.TestFramework.Commands" />
    <Using Remove="Microsoft.NET.TestFramework.ProjectConstruction" />
    <Using Remove="Microsoft.NET.TestFramework.Utilities" />
    <Using Remove="Xunit" />
    <Using Remove="Xunit.Abstractions" />
  </ItemGroup>

</Project>
