Skip to content

Pack symbols should validate that the symbols files are portable #9727

@jozefizso

Description

@jozefizso

NuGet product used: nuget.exe

NuGet version: 5.0.2.5988

VS version: 2017

OS version: Windows 10 2004

Detailed repro steps so we can see the same problem

  1. Compile .NET project with debug symbols enables
  2. Create nuget package with modern snupkg format
  3. Push the package to nuget.org
  4. Symbol package validation fails

Expected behavior

Nuget.exe should fail to push a package to nuget.org if the snupkg packages does not contain correct symbol files. Once the main package is pushed, it is impossible to fix symbol packages for a release and the main package is immutable.

Nuget.exe should also warn about incorrect PDB format when creating the snupkg files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions