From ea5fd6b5286a38c7b5e6aeaeaf3d4aeba3592754 Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Sat, 5 Jan 2019 11:21:06 +0100 Subject: [PATCH] Enabled SymbolPackageFormat=snupkg --- .../NLog.Web.AspNetCore.Tests.csproj | 10 +++------- NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj | 2 ++ appveyor.yml | 1 + build_aspnetcore.bat | 2 +- test_aspnetcore.ps1 | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/NLog.Web.AspNetCore.Tests/NLog.Web.AspNetCore.Tests.csproj b/NLog.Web.AspNetCore.Tests/NLog.Web.AspNetCore.Tests.csproj index 8604975b..82e4e5f0 100644 --- a/NLog.Web.AspNetCore.Tests/NLog.Web.AspNetCore.Tests.csproj +++ b/NLog.Web.AspNetCore.Tests/NLog.Web.AspNetCore.Tests.csproj @@ -5,18 +5,17 @@ 1.2.3.0 1.2.3.1 1.2.3.2 + Full - $(DefineConstants);ASP_NET_CORE;ASP_NET_CORE1 + 2.0.0 $(DefineConstants);ASP_NET_CORE;ASP_NET_CORE2 - - @@ -28,11 +27,8 @@ - - + diff --git a/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj b/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj index 1604f3c6..9eac66a3 100644 --- a/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj +++ b/NLog.Web.AspNetCore/NLog.Web.AspNetCore.csproj @@ -57,11 +57,13 @@ Supported platforms: NLog.Web.AspNetCore for .NET Framework 4.5.1+ true $(DefineConstants);ASP_NET_CORE;ASP_NET_CORE1 + Full NLog.Web.AspNetCore for .NET Framework 4.6+ true $(DefineConstants);ASP_NET_CORE;ASP_NET_CORE2 + Full NLog.Web.AspNetCore for NetStandard 1.5 diff --git a/appveyor.yml b/appveyor.yml index 358fe230..75481921 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -40,3 +40,4 @@ test_script: artifacts: - path: '**\NLog.Web.*.nupkg' +- path: '**\NLog.Web.*.snupkg' diff --git a/build_aspnetcore.bat b/build_aspnetcore.bat index 0a5c2842..474fdcb5 100644 --- a/build_aspnetcore.bat +++ b/build_aspnetcore.bat @@ -3,5 +3,5 @@ echo off rem update NLog.Web.AspNetCore.csproj for version number cd NLog.Web.AspNetCore -msbuild /t:restore /t:build /p:configuration=release /verbosity:minimal +msbuild /t:restore /t:build /p:configuration=release /verbosity:minimal /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg cd .. diff --git a/test_aspnetcore.ps1 b/test_aspnetcore.ps1 index 8ac9e268..8b3fa4de 100644 --- a/test_aspnetcore.ps1 +++ b/test_aspnetcore.ps1 @@ -5,7 +5,7 @@ if (-Not $LastExitCode -eq 0) { exit $LastExitCode } dotnet build --configuration release if (-Not $LastExitCode -eq 0) { exit $LastExitCode } -dotnet xunit +dotnet test if (-Not $LastExitCode -eq 0) { exit $LastExitCode } set-location .. \ No newline at end of file