From d23adfbd786dabe5767ea8732311afca2184af0d Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 3 Oct 2019 16:13:12 +0900 Subject: [PATCH] Prepare BTCPayServer.Common and BTCPayServer.Rating for .netcore 3.0 --- BTCPayServer.Common/BTCPayServer.Common.csproj | 5 +++-- BTCPayServer.Common/Logging/ConsoleLogger.cs | 1 - BTCPayServer.Rating/BTCPayServer.Rating.csproj | 9 ++++----- Build/Common.csproj | 4 ++++ 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/BTCPayServer.Common/BTCPayServer.Common.csproj b/BTCPayServer.Common/BTCPayServer.Common.csproj index 08f04f2a5..a5b680646 100644 --- a/BTCPayServer.Common/BTCPayServer.Common.csproj +++ b/BTCPayServer.Common/BTCPayServer.Common.csproj @@ -3,8 +3,9 @@ - - + + + diff --git a/BTCPayServer.Common/Logging/ConsoleLogger.cs b/BTCPayServer.Common/Logging/ConsoleLogger.cs index bb442cdbb..5c7404b74 100644 --- a/BTCPayServer.Common/Logging/ConsoleLogger.cs +++ b/BTCPayServer.Common/Logging/ConsoleLogger.cs @@ -4,7 +4,6 @@ using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; -using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions.Internal; using Microsoft.Extensions.Logging.Console; diff --git a/BTCPayServer.Rating/BTCPayServer.Rating.csproj b/BTCPayServer.Rating/BTCPayServer.Rating.csproj index 913b77d36..ecd6c8e8e 100644 --- a/BTCPayServer.Rating/BTCPayServer.Rating.csproj +++ b/BTCPayServer.Rating/BTCPayServer.Rating.csproj @@ -1,17 +1,16 @@  - - netcoreapp2.1 - 7.3 - - + + + + diff --git a/Build/Common.csproj b/Build/Common.csproj index b2d1d0669..e7fcac29d 100644 --- a/Build/Common.csproj +++ b/Build/Common.csproj @@ -1,7 +1,11 @@ netcoreapp2.1 + $(TargetFrameworkOverride) NU1701,CA1816,CA1308,CA1810,CA2208 7.3 + + $(DefineConstants);NETCOREAPP21 +