diff --git a/NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestUrlRenderer.cs b/NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestUrlRenderer.cs index 1c973ce2..b512792e 100644 --- a/NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestUrlRenderer.cs +++ b/NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestUrlRenderer.cs @@ -3,7 +3,6 @@ using System.Web; using System.Collections.Specialized; #else -using Microsoft.AspNetCore.Http.Extensions; #endif using NLog.LayoutRenderers; using System.Collections.Generic; diff --git a/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj b/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj index 2830efa5..baa4b3b1 100644 --- a/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj +++ b/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj @@ -32,10 +32,13 @@ - - + + + + +