[dotnet pack] Why does .nupkg include symbols with or without --include-symbols ? #14421
Replies: 1 comment 2 replies
-
|
I've converted this into an issue #14428 for greater visibility. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I
dotnet packmy project, the.nupkgfile always contains symbols (.pdbfiles), regardless of the--include-symbolsoption (or<IncludeSymbols>property) being true, false, or unset. Is there a way to inhibit symbols from being included in the.nupkgfile?For example, my
.csprojcontains this:When I
dotnet pack, I'm expecting to get two NuGet packages:.nupkgcontaining the artifacts, without any symbols..snupkgcontaining the symbols associated to the artifacts in the.nupkg.Regardless of true/false (or omitted) for
<IncludeSymbols>, the.nupkgalways includes symbols.I would like to publish my
.nupkgwithout any symbols to keep it lean, and publish the.snupkgfor debugging as-needed.Am I missing a
.csprojproperty to enable this behaviour? Is my expectation valid?Thanks!
-Paul
Beta Was this translation helpful? Give feedback.
All reactions