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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,711 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
    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