diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2020-07-27 04:12:54 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2020-07-27 05:46:01 +0300 |
commit | e9640726904710ffb476ade2608923061cc9db7a (patch) | |
tree | 746a67c31e1a2d17c265b81ff3377c7f33c20d78 /Duplicati/UnitTest | |
parent | e7daffcb3105c0c43770cc79084740016ba44170 (diff) |
Target .NET Framework 4.7.1.
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.
Diffstat (limited to 'Duplicati/UnitTest')
-rw-r--r-- | Duplicati/UnitTest/Duplicati.UnitTest.csproj | 2 | ||||
-rw-r--r-- | Duplicati/UnitTest/app.config | 2 | ||||
-rw-r--r-- | Duplicati/UnitTest/packages.config | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Duplicati/UnitTest/Duplicati.UnitTest.csproj b/Duplicati/UnitTest/Duplicati.UnitTest.csproj index 54de29920..e21cbf9f9 100644 --- a/Duplicati/UnitTest/Duplicati.UnitTest.csproj +++ b/Duplicati/UnitTest/Duplicati.UnitTest.csproj @@ -8,7 +8,7 @@ <OutputType>Library</OutputType>
<RootNamespace>Duplicati.UnitTest</RootNamespace>
<AssemblyName>Duplicati.UnitTest</AssemblyName>
- <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<UseMSBuildEngine>false</UseMSBuildEngine>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
diff --git a/Duplicati/UnitTest/app.config b/Duplicati/UnitTest/app.config index fa5edff2d..1ca2093f4 100644 --- a/Duplicati/UnitTest/app.config +++ b/Duplicati/UnitTest/app.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?>
<configuration>
-<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" /></startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
diff --git a/Duplicati/UnitTest/packages.config b/Duplicati/UnitTest/packages.config index 20d68e1a3..344223e2a 100644 --- a/Duplicati/UnitTest/packages.config +++ b/Duplicati/UnitTest/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="NUnit" version="3.12.0" targetFramework="net462" /> -</packages>
\ No newline at end of file + <package id="NUnit" version="3.12.0" targetFramework="net471" /> +</packages> |