mu88
mu88

Reputation: 5384

How to retrieve NuGet package with all dependencies to local folder?

In our company, we have an on-premise NuGet server. Now I'd like to add the package Fluent Assertions. I can easily get it by executing the following command:

nuget install FluentAssertions -OutputDirectory C:\temp\NuGet

But in C:\temp\NuGet, I only find FluentAssertions, but not its dependencies.

Is there any one-liner that download's them as well into C:\temp\NuGet? Or do I have to do this manually?

Upvotes: 0

Views: 333

Answers (1)

D.J.
D.J.

Reputation: 4034

The dependencies are framework-specific. You'll have to chose one framework you want the depencies for using the appropriate option

Nuget-Cli-Reference (install)

Upvotes: 1

Related Questions