diff --git a/Build.ps1 b/Build.ps1 index cce9432..c988fd3 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -21,9 +21,9 @@ foreach ($src in ls src/*) { echo "build: Packaging project in $src" if($suffix) { - & dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix + & dotnet pack -c Release -o ..\..\artifacts --version-suffix=$suffix } else { - & dotnet pack -c Release --include-source -o ..\..\artifacts + & dotnet pack -c Release -o ..\..\artifacts } if($LASTEXITCODE -ne 0) { exit 1 } diff --git a/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj b/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj index 7e3549e..94c83e4 100644 --- a/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj +++ b/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj @@ -20,6 +20,14 @@ Serilog + + true + true + snupkg + true + true + + @@ -36,6 +44,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +