diff options
author | Jens Geyer <jensg@apache.org> | 2021-02-13 13:58:09 +0100 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2021-02-15 09:12:56 +0100 |
commit | 526a1acf3b870d3b292423e19b9bb9bb0d18c0c3 (patch) | |
tree | f78dff8ef9bfdd5daa79ed6ef8cf53ca5327102d /tutorial | |
parent | 8461365378328735066e5597af65d1e99aea611a (diff) | |
download | thrift-526a1acf3b870d3b292423e19b9bb9bb0d18c0c3.tar.gz |
THRIFT-5349 Add net5.0 as supported platform
Client: netstd
Patch: Jens Geyer
This closes #2328
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/netstd/Client/Client.csproj | 4 | ||||
-rw-r--r-- | tutorial/netstd/Interfaces/GlobalSuppressions.cs | 26 | ||||
-rw-r--r-- | tutorial/netstd/Interfaces/Interfaces.csproj | 4 | ||||
-rw-r--r-- | tutorial/netstd/Server/Server.csproj | 4 |
4 files changed, 32 insertions, 6 deletions
diff --git a/tutorial/netstd/Client/Client.csproj b/tutorial/netstd/Client/Client.csproj index a54760c6f..8a923e156 100644 --- a/tutorial/netstd/Client/Client.csproj +++ b/tutorial/netstd/Client/Client.csproj @@ -19,7 +19,7 @@ --> <PropertyGroup> - <TargetFramework>netcoreapp3.1</TargetFramework> + <TargetFramework>net5.0</TargetFramework> <AssemblyName>Client</AssemblyName> <PackageId>Client</PackageId> <OutputType>Exe</OutputType> @@ -31,7 +31,7 @@ </PropertyGroup> <ItemGroup> - <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.0" /> + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" /> </ItemGroup> <ItemGroup> diff --git a/tutorial/netstd/Interfaces/GlobalSuppressions.cs b/tutorial/netstd/Interfaces/GlobalSuppressions.cs new file mode 100644 index 000000000..34fdc7953 --- /dev/null +++ b/tutorial/netstd/Interfaces/GlobalSuppressions.cs @@ -0,0 +1,26 @@ +// Licensed to the Apache Software Foundation(ASF) under one +// or more contributor license agreements.See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership.The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. +// Project-level suppressions either have no target or are given +// a specific target and scoped to a namespace, type, member, etc. + +using System.Diagnostics.CodeAnalysis; + +[assembly: SuppressMessage("Performance", "CA1822", Justification = "<Ausstehend>", Scope = "module")] +[assembly: SuppressMessage("Style", "IDE0083", Justification = "<Ausstehend>", Scope = "module")] diff --git a/tutorial/netstd/Interfaces/Interfaces.csproj b/tutorial/netstd/Interfaces/Interfaces.csproj index 5c72612e5..c2adc9ea9 100644 --- a/tutorial/netstd/Interfaces/Interfaces.csproj +++ b/tutorial/netstd/Interfaces/Interfaces.csproj @@ -19,7 +19,7 @@ --> <PropertyGroup> - <TargetFramework>netstandard2.0</TargetFramework> + <TargetFramework>net5.0</TargetFramework> <AssemblyName>Interfaces</AssemblyName> <PackageId>Interfaces</PackageId> <Version>0.15.0.0</Version> @@ -34,7 +34,7 @@ </ItemGroup> <ItemGroup> - <PackageReference Include="System.ServiceModel.Primitives" Version="4.7.0" /> + <PackageReference Include="System.ServiceModel.Primitives" Version="4.8.1" /> </ItemGroup> <Target Name="PreBuild" BeforeTargets="_GenerateRestoreProjectSpec;Restore;Compile"> diff --git a/tutorial/netstd/Server/Server.csproj b/tutorial/netstd/Server/Server.csproj index 39c3e8eef..9da32491f 100644 --- a/tutorial/netstd/Server/Server.csproj +++ b/tutorial/netstd/Server/Server.csproj @@ -19,7 +19,7 @@ --> <PropertyGroup> - <TargetFramework>netcoreapp3.1</TargetFramework> + <TargetFramework>net5.0</TargetFramework> <AssemblyName>Server</AssemblyName> <PackageId>Server</PackageId> <OutputType>Exe</OutputType> @@ -39,7 +39,7 @@ <PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.2.1" /> <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" /> - <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="3.1.0" /> + <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="5.0.0" /> </ItemGroup> </Project> |