<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFrameworks>netstandard2.0</TargetFrameworks>
        <OutputType>exe</OutputType>
        <GenerateDocumentationFile>false</GenerateDocumentationFile>
        <BuildOutputTargetFolder>tools</BuildOutputTargetFolder>
        <DefineConstants>$(DefineConstants);BUILDTASK;XAMLX_CECIL_INTERNAL;XAMLX_INTERNAL</DefineConstants>
        <CopyLocalLockFileAssemblies Condition="$(TargetFramework) == 'netstandard2.0'">true</CopyLocalLockFileAssemblies>
        <NoWarn>NU1605;CS8632</NoWarn>
    </PropertyGroup>

    <ItemGroup>
      <Compile Include="../Avalonia.Base/Utilities/AvaloniaResourcesIndex.cs">
        <Link>Shared/AvaloniaResourcesIndex.cs</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup.Xaml/PortableXaml/AvaloniaResourceXamlInfo.cs">
        <Link>Shared/AvaloniaResourceXamlInfo.cs</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/**/*.cs">
        <Link>XamlIlExtensions/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Remove="external/cecil/**/*.*" />
      <Compile Include="../Markup/Avalonia.Markup.Xaml.Loader/xamlil.github\src\XamlX\**\*.cs">
        <Link>XamlIl/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup.Xaml.Loader\xamlil.github\src\XamlX.IL.Cecil\**\*.cs">
        <Link>XamlIl.Cecil/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup\Markup\Parsers\SelectorGrammar.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Markup/Avalonia.Markup.Xaml/Parsers/PropertyParser.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Data/Core/ExpressionParseException.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/CharacterReader.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/IdentifierParser.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/StringTokenizer.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/MathUtilities.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="..\Markup\Avalonia.Markup\Markup\Parsers\ArgumentListParser.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/KeywordParser.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="..\Markup\Avalonia.Markup\Markup\Parsers\BindingExpressionGrammar.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Base/Utilities/StyleClassParser.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Thickness.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Size.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Vector.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Point.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Matrix.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/CornerRadius.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Media/Color.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Media/HsvColor.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Visuals/Media/KnownColors.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="../Avalonia.Controls/GridLength.cs">
        <Link>Markup/%(RecursiveDir)%(FileName)%(Extension)</Link>
      </Compile>
      <Compile Include="..\Avalonia.Base\Metadata\NullableAttributes.cs" Link="NullableAttributes.cs" />
      <Compile Remove="../Markup/Avalonia.Markup.Xaml.Loader\xamlil.github\**\obj\**\*.cs" />
      <Compile Remove="../Markup/Avalonia.Markup.Xaml.Loader\xamlil.github\src\XamlX\IL\SreTypeSystem.cs" />
      <PackageReference Include="Mono.Cecil" Version="0.11.2" />
      <PackageReference Include="Microsoft.Build.Framework" Version="15.1.548" PrivateAssets="All" />
    </ItemGroup>
</Project>
