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

  <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/Bytes.cs" Link="Helpers/Bytes.cs" />
    <Compile Include="../Shared/EnumHelper.cs" Link="Helpers/EnumHelper.cs" />
    <Compile Include="../Shared/FileHelper.cs" Link="Helpers/FileHelper.cs" />
    <Compile Include="../Shared/MemberNotNullAttribute.cs" Link="Helpers/MemberNotNullAttribute.cs" />
    <Compile Include="../Shared/NotNullAttribute.cs" Link="Helpers/NotNullAttribute.cs" />
    <Compile Include="../Shared/PooledByteArray.cs" Link="Helpers/PooledByteArray.cs" />
    <Compile Include="../Shared/Throw.cs" Link="Helpers/Throw.cs" />
    <Compile Include="../Shared/CallerArgumentExpressionAttribute.cs" Link="Helpers/CallerArgumentExpressionAttribute.cs" />
    <Compile Include="../Shared/TypeHelper.cs" Link="Helpers/TypeHelper.cs" />
  </ItemGroup>

  <ItemGroup>
    <None Remove="Resources/**" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="Resources/ColorProfiles/CMYK/CoatedFOGRA39.icc">
      <LogicalName>ImageMagick.Resources.ColorProfiles.CMYK.CoatedFOGRA39.icc</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources/ColorProfiles/CMYK/USWebCoatedSWOP.icc">
      <LogicalName>ImageMagick.Resources.ColorProfiles.CMYK.USWebCoatedSWOP.icc</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources/ColorProfiles/RGB/AdobeRGB1998.icc">
      <LogicalName>ImageMagick.Resources.ColorProfiles.RGB.AdobeRGB1998.icc</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources/ColorProfiles/RGB/AppleRGB.icc">
      <LogicalName>ImageMagick.Resources.ColorProfiles.RGB.AppleRGB.icc</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources/ColorProfiles/RGB/ColorMatchRGB.icc">
      <LogicalName>ImageMagick.Resources.ColorProfiles.RGB.ColorMatchRGB.icc</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources/ColorProfiles/RGB/SRGB.icm">
      <LogicalName>ImageMagick.Resources.ColorProfiles.RGB.SRGB.icm</LogicalName>
    </EmbeddedResource>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="../../tools/Magick.NET.SourceGenerator/Magick.NET.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  </ItemGroup>

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