-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive nuget restore #2533
Comments
You can already restore a solution, or a folder with many csproj files. Is that not sufficient? Can you help spell out the exact scenario you are hitting? |
Suppose you have a folder with 100 csproj files, and a solution referencing those projects. You could restore the entire folder (either by restoring the sln or *.csproj) but that would be wasteful if you just wanted to build Just as
In that folder and only restore + build |
Makes sense, will keep on our backlog |
@emgarten I believe you already tackled this one, can you please validate my assessment and update the issue accordingly? |
Fixed as part of #3577 Use |
Suppose I want to restore all NuGet dependencies of a project and then build it. So I go
Hover, if
foo.csproj
is dependent onbar.csproj
which has its own (different) NuGet dependencies that won't work. The NuGet restore operation will only restore thefoo.csproj
dependencies.I suggest a new
-Recursive
flag tonuget restore
which will recursively restore all descendant dependencies, as to allow the scenario outlined above.The text was updated successfully, but these errors were encountered: