diff --git a/src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj b/src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj index b3be463d..9d382026 100644 --- a/src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj +++ b/src/NLog.Extensions.Logging/NLog.Extensions.Logging.csproj @@ -5,7 +5,7 @@ For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.Web.AspNetCore Microsoft;Julian Verdurmen - net451;net461;netstandard1.3;netstandard2.0 + net451;net461;netstandard1.3;netstandard1.5;netstandard2.0 true NLog.Extensions.Logging NLog.snk @@ -43,7 +43,7 @@ For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.W - + $(DefineConstants);NETCORE @@ -54,9 +54,14 @@ For ASP.NET Core, use NLog.Web.AspNetCore: https://www.nuget.org/packages/NLog.W + + + + + - + diff --git a/test/LoggerTests.cs b/test/LoggerTests.cs index e9c0f38a..d481205e 100644 --- a/test/LoggerTests.cs +++ b/test/LoggerTests.cs @@ -60,7 +60,7 @@ public void TestMessageProperties() GetRunner().LogDebugWithMessageProperties(); var target = GetTarget(); - Assert.Equal("NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message with id and 1 property |01", target.Logs.FirstOrDefault()); + Assert.Equal("NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message with id and 1 property |1", target.Logs.FirstOrDefault()); } [Fact] @@ -69,7 +69,7 @@ public void TestScopeProperties() GetRunner().LogWithScopeParameters(); var target = GetTarget(); - Assert.Equal("NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message with id and 1 parameters |0Hello", target.Logs.FirstOrDefault()); + Assert.Equal("NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message with id and 1 parameters |Hello", target.Logs.FirstOrDefault()); } [Theory] diff --git a/test/NLog.Extensions.Logging.Tests.csproj b/test/NLog.Extensions.Logging.Tests.csproj index c7991f7a..852e2a67 100644 --- a/test/NLog.Extensions.Logging.Tests.csproj +++ b/test/NLog.Extensions.Logging.Tests.csproj @@ -16,13 +16,13 @@ - + - +