<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>net8.0;netstandard20;net462</TargetFrameworks>
    <TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
    <Platforms>AnyCPU</Platforms>
    <AssemblyVersion>8.0.0</AssemblyVersion>
    <FileVersion>8.0.21</FileVersion>
    <Version>8.0.21</Version>
    <Configurations>Debug;Test;Release</Configurations>
  </PropertyGroup>

  <ItemGroup Condition="'$(TargetFramework)' == 'net462'">
    <Reference Include="System.Drawing" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetFramework)' != 'net462'">
    <PackageReference Include="System.Drawing.Common" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" PrivateAssets="All" />
    <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
    <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="../Shared/NotNullAttribute.cs" Link="Helpers/NotNullAttribute.cs" />
    <Compile Include="../Shared/Throw.cs" Link="Helpers/Throw.cs" />
    <Compile Include="../Shared/CallerArgumentExpressionAttribute.cs" Link="Helpers/CallerArgumentExpressionAttribute.cs" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="../Magick.NET.Core/Magick.NET.Core.csproj" />
  </ItemGroup>

  <Import Project="../Magick.props" />
</Project>
