From a81effea1fb004762b4f033ecd05076c6b67580b Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 15 Oct 2023 11:13:06 +0100 Subject: [PATCH] Update to Serilog 3 and update TFMs --- .../Serilog.Enrichers.Environment.csproj | 17 ++++------------- .../Serilog.Enrichers.Environment.Tests.csproj | 3 ++- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/Serilog.Enrichers.Environment/Serilog.Enrichers.Environment.csproj b/src/Serilog.Enrichers.Environment/Serilog.Enrichers.Environment.csproj index 663fa91..fc90f49 100644 --- a/src/Serilog.Enrichers.Environment/Serilog.Enrichers.Environment.csproj +++ b/src/Serilog.Enrichers.Environment/Serilog.Enrichers.Environment.csproj @@ -1,10 +1,10 @@ - + Enrich Serilog log events with properties from System.Environment. 3.0.0 Serilog Contributors - net45;netstandard1.3;netstandard1.5;netstandard2.0 + net462;net471;netstandard2.0;net6.0 Serilog.Enrichers.Environment ../../assets/Serilog.snk true @@ -22,19 +22,10 @@ - + - - - - - - - - - - + $(DefineConstants);ENV_USER_NAME diff --git a/test/Serilog.Enrichers.Environment.Tests/Serilog.Enrichers.Environment.Tests.csproj b/test/Serilog.Enrichers.Environment.Tests/Serilog.Enrichers.Environment.Tests.csproj index ef9e3c1..e34606f 100644 --- a/test/Serilog.Enrichers.Environment.Tests/Serilog.Enrichers.Environment.Tests.csproj +++ b/test/Serilog.Enrichers.Environment.Tests/Serilog.Enrichers.Environment.Tests.csproj @@ -1,7 +1,8 @@ - netcoreapp3.1;net46 + net462;net48 + $(TargetFrameworks);net7.0;net6.0;net5.0;netcoreapp3.1; false