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 +