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

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
	<LangVersion>10</LangVersion>
	<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
    <PackageReference Include="System.Drawing.Common" Version="10.0.10"
                      GeneratePathProperty="true" />
    <PackageReference Include="System.Numerics.Vectors" Version="4.6.1" />
    <PackageReference Include="StbImageWriteSharp" Version="1.16.7"
                      GeneratePathProperty="true" />
  </ItemGroup>

  <ItemGroup>
    <Compile Remove="tests\PathSmoothingPngVerificationHost\**\*.cs" />
  </ItemGroup>

  <ItemGroup>
    <Reference Include="CommonUsage">
      <HintPath>ref\CommonUsage.dll</HintPath>
    </Reference>
    <Reference Include="LessokajiWeaverUtilities">
      <HintPath>ref\LessokajiWeaverUtilities.dll</HintPath>
    </Reference>
    <Reference Include="MDCSToolBox">
      <HintPath>ref\MDCSToolBox.dll</HintPath>
    </Reference>
    <Reference Include="ClumsyCore">
      <HintPath>ref\RefClumsyCore.dll</HintPath>
    </Reference>
    <Reference Include="ClumsyDance">
      <HintPath>ref\RefClumsyDance.dll</HintPath>
    </Reference>
    <Reference Include="FundamentalLib">
      <HintPath>ref\RefFundamentalLib.dll</HintPath>
    </Reference>
  </ItemGroup>

  <Target Name="DeployManagedPngRuntime" AfterTargets="Build">
    <Copy SourceFiles="$(PkgStbImageWriteSharp)\lib\netstandard2.0\StbImageWriteSharp.dll"
          DestinationFiles="$(TargetDir)StbImageWriteSharp.dll" />
  </Target>

  <Target Name="DeploySystemDrawingRuntime" AfterTargets="Build">
    <Copy SourceFiles="$(PkgSystem_Drawing_Common)\lib\netstandard2.0\System.Drawing.Common.dll"
          DestinationFiles="$(TargetDir)System.Drawing.Common.dll" />
  </Target>

</Project>
