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.
85 lines
3.6 KiB
XML
85 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{C5899F45-B0FF-483C-9D38-24A9FCAAB237}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Duplicati.Library.Interface</RootNamespace>
|
|
<AssemblyName>Duplicati.Library.Interface</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<AssemblyOriginatorKeyFile>Duplicati.snk</AssemblyOriginatorKeyFile>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation />
|
|
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile />
|
|
<UseMSBuildEngine>false</UseMSBuildEngine>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="BackendExtensions.cs" />
|
|
<Compile Include="CommandLineArgument.cs" />
|
|
<Compile Include="CustomExceptions.cs" />
|
|
<Compile Include="IBackend.cs" />
|
|
<Compile Include="USNJournalDataEntry.cs" />
|
|
<Compile Include="ICommandLineArgument.cs" />
|
|
<Compile Include="IEncryption.cs" />
|
|
<Compile Include="ICompression.cs" />
|
|
<Compile Include="IFileEntry.cs" />
|
|
<Compile Include="IGenericSourceModule.cs" />
|
|
<Compile Include="IGenericModule.cs" />
|
|
<Compile Include="IQuotaEnabledBackend.cs" />
|
|
<Compile Include="IQuotaInfo.cs" />
|
|
<Compile Include="IStreamingBackend.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="IGenericCallbackModule.cs" />
|
|
<Compile Include="QuotaInfo.cs" />
|
|
<Compile Include="ResultInterfaces.cs" />
|
|
<Compile Include="IWebModule.cs" />
|
|
<Compile Include="IConnectionModule.cs" />
|
|
<Compile Include="IRenameEnabledBackend.cs" />
|
|
<Compile Include="Strings.cs" />
|
|
<Compile Include="IGenericServerModule.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Duplicati.snk" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Localization\Duplicati.Library.Localization.csproj">
|
|
<Project>{B68F2214-951F-4F78-8488-66E1ED3F50BF}</Project>
|
|
<Name>Duplicati.Library.Localization</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
</Project> |