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 /BuildTools/GnupgSigningTool | |
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 'BuildTools/GnupgSigningTool')
-rw-r--r-- | BuildTools/GnupgSigningTool/GnupgSigningTool.csproj | 2 | ||||
-rw-r--r-- | BuildTools/GnupgSigningTool/app.config | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj b/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj index b52512f5f..e416fc8c0 100644 --- a/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj +++ b/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj @@ -7,7 +7,7 @@ <OutputType>Exe</OutputType> <RootNamespace>GnupgSigningTool</RootNamespace> <AssemblyName>GnupgSigningTool</AssemblyName> - <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> + <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion> <TargetFrameworkProfile /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> diff --git a/BuildTools/GnupgSigningTool/app.config b/BuildTools/GnupgSigningTool/app.config index 2a0024f75..d7c60fd53 100644 --- a/BuildTools/GnupgSigningTool/app.config +++ b/BuildTools/GnupgSigningTool/app.config @@ -1,3 +1,3 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> -<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration> +<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/></startup></configuration> |