aspect-injector
aspect-injector copied to clipboard
Feature: Provide debug symbols with NuGet package
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.
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?
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)