<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="$(ProjectDir)..\Common.items" />
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
    <Nullable>enable</Nullable>
    <RootNamespace>Reko.AvaloniaShell</RootNamespace>
    <AssemblyName>reko-avalonia</AssemblyName>
    <Platforms>x86;x64;ARM64</Platforms>
    <Configurations>Debug;Release</Configurations>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Avalonia" Version="0.10.18" />
    <PackageReference Include="Avalonia.Desktop" Version="0.10.18" />
    <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
    <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.18" />
   </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="$(SolutionDir)Gui\Gui.csproj" />
    <ProjectReference Include="..\..\UserInterfaces\AvaloniaUI\AvaloniaUI.csproj" />
  </ItemGroup>
  <Import Project="$(ProjectDir)..\PreBuild.targets" />
</Project>
