From 914b62f443abd0df8f6c407487d2c2e66b49c98e Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Wed, 24 Feb 2021 15:37:58 +1000 Subject: [PATCH] Re-enable .NET Framework support through netstandard2.0, via Serilog.Extensions.Hosting upstream --- src/Serilog.AspNetCore/Serilog.AspNetCore.csproj | 7 ++----- .../SerilogWebHostBuilderExtensionsTests.cs | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj b/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj index d05df9a..f9baeb4 100644 --- a/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj +++ b/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj @@ -4,7 +4,7 @@ Serilog support for ASP.NET Core logging 4.0.0 Microsoft;Serilog Contributors - netstandard2.1 + netstandard2.0;netstandard2.1 true true ../../assets/Serilog.snk @@ -26,15 +26,12 @@ - + - - - diff --git a/test/Serilog.AspNetCore.Tests/SerilogWebHostBuilderExtensionsTests.cs b/test/Serilog.AspNetCore.Tests/SerilogWebHostBuilderExtensionsTests.cs index 5c85679..6c12183 100644 --- a/test/Serilog.AspNetCore.Tests/SerilogWebHostBuilderExtensionsTests.cs +++ b/test/Serilog.AspNetCore.Tests/SerilogWebHostBuilderExtensionsTests.cs @@ -4,14 +4,11 @@ using System; using System.Linq; using System.Threading.Tasks; - using Xunit; - using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.Builder; - using Serilog.Filters; using Serilog.AspNetCore.Tests.Support;