sandialabs/Gulliver

[BUG] Symbols package publishing failed

Closed this issue · 0 comments

Describe the bug

Symbols package publishing failed. The uploaded symbols package contains one or more pdbs that are not portable.

Expected behavior

Should publish portable pdb's for snupkg

Example of how to Reproduce

  1. Create build
  2. Release build from Azure Release Pipeline
  3. See Nuget.org report the error
    image

Code Information

Affects Version 1.0.2

Proposed solutions

Add Arguments to pipeline task DotNetCoreCLI@2

- task: DotNetCoreCLI@2
  displayName: 'dotnet pack'
  inputs:
    command: pack
    arguments: '--include-symbols -p:SymbolPackageFormat=snupkg'
    packagesToPack: '**/Arcus.csproj;'

Can you help?

I am going to create a pull request for this.