Danil Sabirov
Danil Sabirov

Reputation: 353

How to get project's referenced packages?

folks!

Is there any command to know which packages referenced particular project in Nuget?

I cannot find appropriate command

Upvotes: 0

Views: 95

Answers (2)

Fei Ling
Fei Ling

Reputation: 592

Run

Get-Package -ProjectName <projectName>

to get the list of packages installed for a project.

Upvotes: 1

Brandon
Brandon

Reputation: 69983

I don't think the packages have a list of which projects reference them.

You'd probably have to look at the packages.config files in the individual projects and look for the one you want.

Upvotes: 0

Related Questions