/
Duplicati.Library.Backend.Storj.csproj
35 lines (29 loc) · 1.71 KB
/
Duplicati.Library.Backend.Storj.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
<Description>Storj backend for Duplicati</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="uplink.NET" Version="2.12.3363" />
<!-- There is a packaging issue, in the way the Storj binaries are included: https://github.com/TopperDEL/uplink.net/issues/39 -->
<!-- The release build process now manually injects the correct binary components based on the runtime target until resolved. -->
<!-- The conditionals below ensure that building locally and debugging should still work -->
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('win-'))" Include="uplink.NET.Win" Version="2.12.3363" />
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('linux-'))" Include="uplink.NET.Linux" Version="2.12.3363" />
<PackageReference Condition="$(RuntimeIdentifier.StartsWith('osx-'))" Include="uplink.NET.Mac" Version="2.12.3363" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Interface\Duplicati.Library.Interface.csproj" />
<ProjectReference Include="..\..\Common\Duplicati.Library.Common.csproj" />
<ProjectReference Include="..\..\Localization\Duplicati.Library.Localization.csproj" />
<ProjectReference Include="..\..\Utility\Duplicati.Library.Utility.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>