Skip to content

Consume pdbs from packages in PackageReference - add Debug Symbols to LockFileTargetLibrary #5926

@wli3

Description

@wli3

dotnet/sdk#1458 depends on this

To include PDB to CopyLocal, SDK need NuGet.ProjectModel to categorize PDB and XML file to an ideally different category like "debug symbol" or "related file".

So SDK can get all the symbol files by something like var symbolPath = lockFileTargetLibrary.debugSymbols , just like CompileTimeAssemblies, RuntimeAssemblies today

https://github.com/NuGet/NuGet.Client/blob/efae789c75899ca0bdd063f34a4b73cd41510d56/src/NuGet.Core/NuGet.ProjectModel/LockFile/LockFileTargetLibrary.cs#L27

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions