diff --git a/Scripts/Build.ps1 b/Scripts/Build.ps1 index 5d5dd6e..89c9240 100644 --- a/Scripts/Build.ps1 +++ b/Scripts/Build.ps1 @@ -86,7 +86,7 @@ task Test { task NugetPackage{ Foreach ($projectPath in $ProjectsToPublish) { - exec { MSBuild "/t:pack" "/p:IncludeSource=true" "/p:Configuration=$VsConfiguration" $projectPath "/p:PackageOutputPath=$PackageDirectory" } + exec { MSBuild "/t:pack" "/p:IncludeSource=true" "/p:SymbolPackageFormat=snupkg" "/p:Configuration=$VsConfiguration" $projectPath "/p:PackageOutputPath=$PackageDirectory" } } } diff --git a/Scripts/PublishPackages.ps1 b/Scripts/PublishPackages.ps1 index 5e10376..fb45694 100644 --- a/Scripts/PublishPackages.ps1 +++ b/Scripts/PublishPackages.ps1 @@ -33,21 +33,11 @@ function Get-Approval-To-Execute { function Publish-Packages { param ( [System.Array] $Packages) - $nugetExeFile = Get-Item -Path $NugetDir - - $symbolsPackagesPattern = ".*.symbols.nupkg" - $nugetPackagesPattern = ".*(?