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

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
	  <RootNamespace>Reko.UserInterfaces.AvaloniaUI</RootNamespace>
	  <AssemblyName>Reko.UserInterfaces.AvaloniaUI</AssemblyName>
	  <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
	  <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
	<PackageReference Include="Avalonia" Version="0.10.18" />
	<PackageReference Include="Avalonia.Controls.DataGrid" 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" />

    <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.18" />
    <PackageReference Include="Dock.Avalonia" Version="0.10.14" />
    <PackageReference Include="Dock.Model.ReactiveUI" Version="0.10.14" />
    <PackageReference Include="Markdown.Avalonia" Version="0.10.11" />
    <PackageReference Include="MessageBox.Avalonia" Version="2.0.2" />
    <PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />

  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\Core\Core.csproj" />
    <ProjectReference Include="..\..\Gui\Gui.csproj" />
  </ItemGroup>

  <ItemGroup>
	  <AvaloniaResource Include="Assets\**" />
	  <AvaloniaResource Include="Themes\**" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="Views\Documents\BaseAddressFinderDocumentView.axaml.cs">
      <DependentUpon>BaseAddressFinderDocumentView.axaml</DependentUpon>
    </Compile>
  </ItemGroup>

</Project>
