Updating Multiple Packages in the Package Manager Console in Visual Studio

In Visual Studio, the package manager console is faster than the package manager dialog, and therefore I am always the console.

However, there is a time when I need to update 2/3 of the package at a time. Let's say model + repository projects. Is there any command to specify these 2/3 packages at a time? So I do not need to enter and wait one by one.

By the way, I am using VS 2013. Thanks.

+4
source share
1 answer

You can separate update commands with ;so that it looks like this:

Update-Package <Package1> -version <version1>; Update-Package <Package2> -version <version2>; Update-Package <Package3> -version <version3>

That way, you can just run it and pick up coffee while it is being updated.

+5

Source: https://habr.com/ru/post/1611361/


All Articles