Skip to content

After conflict resolution, remove libraries from the deps file that no longer include any assets #1109

@dsplaisted

Description

@dsplaisted

When the conflict resolution removes an asset from the deps.json file, there can be a library entry in the file with no assets. Especially when the .NET Standard 1.x package graph is brought into a .NET Core 2.0 project, this results in a lot of libraries in the deps file that don't have any useful data in them. So when we're trimming out assets, we should also trim out the entire library entry if it doesn't have any assets.

See the discussion here

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions