Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Provide debug symbols with NuGet package #207

Open
neparij opened this issue Jan 31, 2023 · 2 comments
Open

Feature: Provide debug symbols with NuGet package #207

neparij opened this issue Jan 31, 2023 · 2 comments

Comments

@neparij
Copy link

neparij commented Jan 31, 2023

Describe the solution you'd like
Symbols package (snupkg) provided for NuGet. This way all dependant packages can use it while signing itself.

Additional context
There is no PDB Metadata for AspectInjector.Broker library at the moment.
Screenshot 2023-01-31 at 12 51 33

@pamidur
Copy link
Owner

pamidur commented Jan 31, 2023

Hey @neparij ,
I didn't know signing requires PDB files.
Would it be enough if I add the PDB into main package or it has to be snupkg?

@neparij
Copy link
Author

neparij commented Feb 1, 2023

Hey @neparij ,
I didn't know signing requires PDB files.
Would it be enough if I add the PDB into main package or it has to be snupkg?

For example, you can run dotnet pack command with the --include-symbols argument. After symbols was created dotnet nuget push command should attach generated .snupkg files as well.
Don't forget to add <SymbolPackageFormat>snupkg</SymbolPackageFormat> to your PropertyGroup in csproj
Also, I recommend using Microsoft.SourceLink with github adaptor (Clarifying README provided on their repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants