sandialabs / Gulliver

Gulliver is a C# utility package and library engineered for the manipulation of arbitrary sized byte arrays accounting for appropriate endianness and jagged byte length.
Apache License 2.0
15 stars 3 forks source link

[BUG] Symbols package publishing failed #41

Closed nicksterx closed 4 years ago

nicksterx commented 4 years ago

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.