From 44c761abc69f46e0cf4e04a2e21d64e612bb72d9 Mon Sep 17 00:00:00 2001 From: Michiel van Oudheusden Date: Wed, 16 Sep 2020 23:33:07 +0200 Subject: [PATCH] use snupkg --- .vscode/settings.json | 3 +++ Build.ps1 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..79e520ae --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "powershell.codeFormatting.addWhitespaceAroundPipe": true +} \ No newline at end of file diff --git a/Build.ps1 b/Build.ps1 index a6c50387..044678db 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -37,7 +37,7 @@ function Invoke-Build() Write-Output "Creating packages" foreach ($project in $projects) { - & dotnet pack $project -c Release -o ..\..\artifacts --include-symbols --include-source /p:PackageVersion=$env:GitVersion_NuGetVersionV2 + & dotnet pack $project -c Release -o ..\..\artifacts -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg /p:PackageVersion=$env:GitVersion_NuGetVersionV2 } if($LASTEXITCODE -ne 0)