You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kahlkevin Please file a new issue with the feature request. In general I strongly discourage use of snupkg as only NuGet.org supports it. Best to put the PDB files into the NuPkg.
In general I strongly discourage use of snupkg as only NuGet.org supports it. Best to put the PDB files into the NuPkg.
I prefer snupkg because the symbols get indexed so the debugger can find the symbols even for an arbitrary running application, as opposed to only while developing the application when you happen to have pdb's nearby.
And to your point that only nuget.org supports it, that may have been true once but no longer. MyGet.org supports snupkg.
I guess Azure DevOps doesn't support it yet but it looks highly voted.
Fair point on getting symbols for other apps. I would hope that the app would publish the PDB files of dependencies alongside the app. Embedded PPDB solves this too ;)
Seems like NuGet should just index PDB's in NuPkg and be done with it. Symbol Servers don't work in air-gapped/offline scenarios whereas if you have the NuPkg locally you're ok. It's also easier to lose the pdb's since they're much more out-of-sight.
Activity
AArnott commentedon Mar 28, 2020
I was just wanting this today. I see you fixed it, which is great. Is it not on the Microsoft Store yet?
clairernovotny commentedon Mar 28, 2020
It's "In Certification" :(
I hate how long the store can take sometimes.
kahlkevin commentedon Apr 1, 2020
This doesn't seem to work if I'm viewing a locally built, but unpublished .nupkg with the .snupkg sitting right next to it in the same dir.
I'd like for that to work since it's very useful for validation of all the content before publishing.
Store version (5.6.40+0baf79cb07)
clairernovotny commentedon Apr 1, 2020
@kahlkevin Please file a new issue with the feature request. In general I strongly discourage use of
snupkgas only NuGet.org supports it. Best to put the PDB files into the NuPkg.You can see a full sample, including how to put pdb's in the nupkg here: https://github.com/clairernovotny/DeterministicBuilds/blob/master/Directory.Build.props#L10
AArnott commentedon Apr 1, 2020
I prefer
snupkgbecause the symbols get indexed so the debugger can find the symbols even for an arbitrary running application, as opposed to only while developing the application when you happen to have pdb's nearby.And to your point that only nuget.org supports it, that may have been true once but no longer. MyGet.org supports snupkg.
I guess Azure DevOps doesn't support it yet but it looks highly voted.
clairernovotny commentedon Apr 1, 2020
Fair point on getting symbols for other apps. I would hope that the app would publish the PDB files of dependencies alongside the app. Embedded PPDB solves this too ;)
Seems like NuGet should just index PDB's in NuPkg and be done with it. Symbol Servers don't work in air-gapped/offline scenarios whereas if you have the NuPkg locally you're ok. It's also easier to lose the pdb's since they're much more out-of-sight.