Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect error message when PDB does not match DLL #7844
Describe the bug
A user wants to update their .snupkg associated with an already pushed package:
There is an existing .snupkg that was accepted but subsequent attempts fail with this error:
However upon closer investigation, the failure is not because the PDBs are portable but because the PEReader saw that the PDB and DLL do not match.
This should use the error message
Upload a snupkg with a portable PDB that matches in name but does not match according to
The validation should fail with a more helpful error message.
Add any other context about the problem here.