Enable Nuget debug symbols (snupkg). #2929
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Enabled pushing debug symbols to Nuget. Made this as this will give much better support for looking at Discord.Net's code compared to Visual Studio's decompiler (or Resharpers). Previously would have to pull up the Github, which wasn't ideal. (Had to do this more than a couple times to see how some methods work and the like). Will also obviously mean we get all the other benefits of debug symbols.
On your end with Nuget pushes, the Nuget CLI should auto-push it automatically whenever pushing a new version, meaning you shouldn't need to do anything differently. See MSDocs about this here
Changes
Enabled building .snupkg files for all packages that are pushed to Nuget (to my knowledge), being BuildOverrides, Commands, Core, Interactions, Rest, WebSocket, and Webhook.