Files
duplicati/Duplicati/Library/RestAPI/Duplicati.Library.RestAPI.csproj
T
Kenneth Skovhede 3269c87329 Add PowerMode provider selection
This PR adds settings to choose a Power Mode provider, which will detect if the system is in a paused/suspended state and avoid starting tasks while being suspended.

This currently only works for Windows, where the previous inplementation is named `NET` (for .NET) and the new mode is named `Native` and using the Windows documented approach with a hidden window that listens for `WM_POWERBROADCAST` messages.

The default is `Native` but can now also be disabled by choosing the `None` provider.
2025-10-15 17:58:24 +02:00

28 lines
1.0 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Copyright>Copyright © 2025 Team Duplicati, MIT license</Copyright>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\CommandLine\CLI\Duplicati.CommandLine.csproj" />
<ProjectReference Include="..\Common\Duplicati.Library.Common.csproj" />
<ProjectReference Include="..\Encryption\Duplicati.Library.Encryption.csproj" />
<ProjectReference Include="..\Main\Duplicati.Library.Main.csproj" />
<ProjectReference Include="..\Snapshots\Duplicati.Library.Snapshots.csproj" />
<ProjectReference Include="..\SQLiteHelper\Duplicati.Library.SQLiteHelper.csproj" />
<ProjectReference Include="..\..\Server\Duplicati.Server.Serialization\Duplicati.Server.Serialization.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Database\Database schema\**" />
<EmbeddedResource Include="newbackup.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="WebServer\Kestrel\" />
</ItemGroup>
</Project>