<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net9.0</TargetFramework>
    <Nullable>enable</Nullable>
    <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
    <ApplicationManifest>app.manifest</ApplicationManifest>
    <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Avalonia" Version="11.2.6" />
    <PackageReference Include="Avalonia.Desktop" Version="11.2.6" />
    <PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.6" />
    <PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.6" />
    <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
    <PackageReference Include="Avalonia.Diagnostics" Version="11.2.6">
      <IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
      <PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0-preview.3.25171.6" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\Project.Controller\Project.Controller.csproj" />
    <ProjectReference Include="..\Project.Model\Project.Model.csproj" />
    <AvaloniaResource Include="Images\**" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="NewLogin\NewLogin.axaml.cs">
      <DependentUpon>NewLogin.axaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Compile Update="NewLogin\NewLogin.axaml.cs">
      <DependentUpon>NewEntry.axaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <AdditionalFiles Include="NewLogin\NewLogin.axaml" />
  </ItemGroup>
</Project>
