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

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <AdditionalFiles Include="..\stylecop.json" Link="Properties/stylecop.json" />
    <None Include="../../resources/gfx/small-logo.png" Pack="true" PackagePath="\" Link="Properties/small-logo.png" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="AnsiConsole.*.cs">
      <DependentUpon>AnsiConsole.cs</DependentUpon>
    </Compile>
    <Compile Update="Border.*.cs">
      <DependentUpon>Border.cs</DependentUpon>
    </Compile>
    <Compile Update="BoxBorder.*.cs">
      <DependentUpon>BoxBorder.cs</DependentUpon>
    </Compile>
    <Compile Update="Color.*.cs">
      <DependentUpon>Color.cs</DependentUpon>
    </Compile>
    <Compile Update="Emoji.*.cs">
      <DependentUpon>Emoji.cs</DependentUpon>
    </Compile>
    <Compile Update="Extensions/AnsiConsoleExtensions.*.cs">
      <DependentUpon>Extensions/AnsiConsoleExtensions.cs</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" PrivateAssets="all" />
    <PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[$(AnnotatedReferenceAssemblyVersion)]" />
    <PackageReference Include="Nullable" Version="1.2.1">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Wcwidth" Version="0.2.0" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="BoxBorder.Known.cs">
      <DependentUpon>BoxBorder.cs</DependentUpon>
    </Compile>
    <Compile Update="TableBorder.Known.cs">
      <DependentUpon>TableBorder.cs</DependentUpon>
    </Compile>
    <Compile Update="Extensions\AnsiConsoleExtensions.Markup.cs">
      <DependentUpon>AnsiConsoleExtensions.cs</DependentUpon>
    </Compile>
    <Compile Update="Extensions\AnsiConsoleExtensions.Rendering.cs">
      <DependentUpon>AnsiConsoleExtensions.cs</DependentUpon>
    </Compile>
  </ItemGroup>
  <PropertyGroup>
    <AnnotatedReferenceAssemblyVersion>3.0.0</AnnotatedReferenceAssemblyVersion>
    <GenerateNullableAttributes>False</GenerateNullableAttributes>
  </PropertyGroup>

</Project>
