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

  <PropertyGroup>
    <TargetFramework>net10.0</TargetFramework>
    <OutputType>Library</OutputType>
    <Copyright>Copyright © 2026 Team Duplicati, MIT license</Copyright>
    <RootNamespace>Duplicati.Library.Main</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="CoCoL" Version="1.8.4" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
    <PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
    <PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\License\Duplicati.License.csproj" />
    <ProjectReference Include="..\Compression\Duplicati.Library.Compression.csproj" />
    <ProjectReference Include="..\Utility\Duplicati.Library.Utility.csproj" />
    <ProjectReference Include="..\DynamicLoader\Duplicati.Library.DynamicLoader.csproj" />
    <ProjectReference Include="..\Interface\Duplicati.Library.Interface.csproj" />
    <ProjectReference Include="..\Logging\Duplicati.Library.Logging.csproj" />
    <ProjectReference Include="..\Snapshots\Duplicati.Library.Snapshots.csproj" />
    <ProjectReference Include="..\SQLiteHelper\Duplicati.Library.SQLiteHelper.csproj" />
    <ProjectReference Include="..\Localization\Duplicati.Library.Localization.csproj" />
    <ProjectReference Include="..\UsageReporter\Duplicati.Library.UsageReporter.csproj" />
    <ProjectReference Include="..\ResultSerialization\Duplicati.Library.ResultSerialization.csproj" />
    <ProjectReference Include="..\SourceProvider\Builtin\Duplicati.Library.SourceProvider.Builtin.csproj" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="Database\Database schema\*.sql" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="default_compressed_extensions.txt">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>

</Project>
