This updates all projects to target .NET Framework 4.7.1. The TencentCOS and Tardigrade backends depend on .NET Standard 2.0. When a .NET Framework prior to 4.7.1 is targeted, the system cannot be sure that all the dependencies exist, so it copies all dependent assemblies to the output directory. This causes many assemblies from the System namespace to become bundled in the release. https://stackoverflow.com/a/48875007 We had previously attempted to make individual projects target 4.7.1 (see pull request #4242), but this can cause compatibility issues when 4.6.2 projects depend on 4.7.1. projects. This will require Mono 5.10.0 or greater (previously, we required 5.0.0 or greater). https://www.mono-project.com/docs/about-mono/releases/5.10.0/#class-libraries This fixes issue #4234.
119 lines
6.4 KiB
XML
119 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{2C838169-B187-4B09-8768-1C24C2521C8D}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Duplicati.Library.SQLiteHelper</RootNamespace>
|
|
<AssemblyName>SQLiteHelper</AssemblyName>
|
|
<AssemblyOriginatorKeyFile>..\..\GUI\Duplicati.GUI.TrayIcon\Duplicati.snk</AssemblyOriginatorKeyFile>
|
|
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile />
|
|
<UseMSBuildEngine>false</UseMSBuildEngine>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<ConsolePause>false</ConsolePause>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>full</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release</OutputPath>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<ConsolePause>false</ConsolePause>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Data.SQLite, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
|
<HintPath>..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\lib\net46\System.Data.SQLite.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Data.SQLite.EF6, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
|
<HintPath>..\..\..\packages\System.Data.SQLite.EF6.1.0.111.0\lib\net46\System.Data.SQLite.EF6.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Data.SQLite.Linq, Version=1.0.111.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
|
<HintPath>..\..\..\packages\System.Data.SQLite.Linq.1.0.111.0\lib\net46\System.Data.SQLite.Linq.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="UnixSupport">
|
|
<HintPath>..\..\..\thirdparty\UnixSupport\UnixSupport.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="DBSchemaUpgrades\DbUpgradesRegistry.cs" />
|
|
<Compile Include="DBSchemaUpgrades\IDbSchemaUpgrade.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="DatabaseUpgrader.cs" />
|
|
<Compile Include="SQLiteLoader.cs" />
|
|
<Compile Include="Strings.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="App.config" />
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win64\System.Data.SQLite.dll">
|
|
<Link>SQLite\win64\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win32\System.Data.SQLite.dll">
|
|
<Link>SQLite\win32\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\pinvoke\System.Data.SQLite.dll">
|
|
<Link>SQLite\pinvoke\System.Data.SQLite.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win32\SQLite.Interop.dll">
|
|
<Link>SQLite\win32\SQLite.Interop.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\..\thirdparty\SQLite\win64\SQLite.Interop.dll">
|
|
<Link>SQLite\win64\SQLite.Interop.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Utility\Duplicati.Library.Utility.csproj">
|
|
<Project>{DE3E5D4C-51AB-4E5E-BEE8-E636CEBFBA65}</Project>
|
|
<Name>Duplicati.Library.Utility</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Localization\Duplicati.Library.Localization.csproj">
|
|
<Project>{B68F2214-951F-4F78-8488-66E1ED3F50BF}</Project>
|
|
<Name>Duplicati.Library.Localization</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Interface\Duplicati.Library.Interface.csproj">
|
|
<Project>{C5899F45-B0FF-483C-9D38-24A9FCAAB237}</Project>
|
|
<Name>Duplicati.Library.Interface</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Logging\Duplicati.Library.Logging.csproj">
|
|
<Project>{D10A5FC0-11B4-4E70-86AA-8AEA52BD9798}</Project>
|
|
<Name>Duplicati.Library.Logging</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Common\Duplicati.Library.Common.csproj">
|
|
<Project>{D63E53E4-A458-4C2F-914D-92F715F58ACF}</Project>
|
|
<Name>Duplicati.Library.Common</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" />
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets'))" />
|
|
</Target>
|
|
</Project> |