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

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net8.0</TargetFramework>
        <RootNamespace>OF_DL</RootNamespace>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <ApplicationIcon>Icon\download.ico</ApplicationIcon>
    </PropertyGroup>

    <ItemGroup>
        <Content Include="Icon\download.ico" />
    </ItemGroup>

    <ItemGroup>
        <PackageReference Include="Akka" Version="1.5.39" />
        <PackageReference Include="BouncyCastle.NetCore" Version="2.2.1" />
        <PackageReference Include="HtmlAgilityPack" Version="1.12.0" />
        <PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.3" />
        <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
        <PackageReference Include="protobuf-net" Version="3.2.46" />
        <PackageReference Include="PuppeteerSharp" Version="20.1.3" />
        <PackageReference Include="Serilog" Version="4.2.0" />
        <PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
        <PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
        <PackageReference Include="System.Reactive" Version="6.0.1" />
        <PackageReference Include="xFFmpeg.NET" Version="7.2.0" />
    </ItemGroup>

    <ItemGroup>
        <Reference Include="Spectre.Console">
            <HintPath>References\Spectre.Console.dll</HintPath>
        </Reference>
    </ItemGroup>

    <ItemGroup>
        <None Update="auth.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </None>
        <None Update="config.conf">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </None>
        <None Update="rules.json">
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </None>
    </ItemGroup>

    <Import Project="Extension.props" />
</Project>
