开发者

NuGet update_package in entire solution

开发者 https://www.devze.com 2023-03-11 16:54 出处:网络
Maybe I am missing something very simple but how 开发者_如何学Godo you update a package in multiple projects in a solution?Old question, but for those that are interested, works out of the box now wit

Maybe I am missing something very simple but how 开发者_如何学Godo you update a package in multiple projects in a solution?


Old question, but for those that are interested, works out of the box now with the 'Update-Package' command in the Package Manager Console


Install http://nuget.org/List/Packages/NuGetPackageUpdater

PM> Install-Package NuGetPackageUpdater

Then just type (in the command console, while the solution in question is opened)

PM> Update-Package

Otherwise there's currently a workitem to bake this functionality directly into NuGet with something like an Update-Package -all flag. Ref: http://nuget.codeplex.com/workitem/431


You can now "Manage NuGet Packages for Solution ..." when you right-click the project.


Currently in 1.3 there is no way to do this. This feature will be in 1.4 please see: http://nuget.codeplex.com/workitem/431 If you would like to preview this feature you can install a build form out CI machine see: http://docs.nuget.org/docs/start-here/installing-nuget#Installing_a_CI_build

0

精彩评论

暂无评论...
验证码 换一张
取 消