How to install all the nuget packages in one click ?

William de 116 Reputation points
2024-05-14T22:51:29.5566667+00:00

I want to install the nugets by "publisher1" and currently I see that I can do this one by one but the packages are so many , is there a way to install all of them ?

For example how to install all of the packages from this url

https://www.nuget.org/profiles/google-cloud

Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2024-05-15T13:23:17.74+00:00

    Hello @William de,

    Welcome to Microsoft Q&A forum.

    Package id should be necessary for identifying the NuGet packages, which means you might still need to list all the NuGet package ids, and then install them at once.

    For example, in Visual Studio Package Manager Console(Tools=>NuGet Package Manager=>Package Manager Console), run the command like "Google.Cloud.Storage.V1", "Google.Cloud.lam.v1", "Google.LongRunning" | foreach {Install-Package $_}.

    I don’t find any method to custom to download and install all NuGet packages by “publisher1” at once.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.