Skip to content

Expose dotnet list package/reference functionality to traversal projects #131

@MeikTranel

Description

@MeikTranel

When using Traversal Projects with an all PackageReference (even setting PackageRestoreStyle via Directory.Build.props) workspace, dotnet list Traversal.proj package fails with message:

The project `D:\test\Traversal.proj` uses package.config for NuGet packages, while the command works only with package reference projects.

When trying to do dotnet list Traversal.proj reference we get:

There are no Project to Project references in project Traversal.proj.

In my opinion a traversal project should be able to produce a project and package dependency graph (or at least a table containing all packages).
I know this issue might be better fit for the dotnet cli, but i wanted feedback here first. Maybe im doing something wrong even.
Here's a minimal repro although i don't think this cli feature works at all with traversal

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions